Class BackwardsExtentBlockCopy

java.lang.Object
com.sk89q.worldedit.function.visitor.RegionVisitor
com.sk89q.worldedit.function.operation.BackwardsExtentBlockCopy
All Implemented Interfaces:
Operation

public class BackwardsExtentBlockCopy extends RegionVisitor implements Operation
  • Method Details

    • resume

      public Operation resume(RunContext run) throws WorldEditException
      Description copied from interface: Operation
      Complete the next step. If this method returns true, then the method may be called again in the future, or possibly never. If this method returns false, then this method should not be called again.
      Specified by:
      resume in interface Operation
      Overrides:
      resume in class RegionVisitor
      Parameters:
      run - describes information about the current run
      Returns:
      another operation to run that operation again, or null to stop
      Throws:
      WorldEditException - an error
    • getAffected

      public int getAffected()
      Description copied from class: RegionVisitor
      Get the number of affected objects.
      Overrides:
      getAffected in class RegionVisitor
      Returns:
      the number of affected
    • cancel

      public void cancel()
      Description copied from interface: Operation
      Abort the current task. After the this method is called, Operation.resume(RunContext) should not be called at any point in the future. This method should not be called after successful completion of the operation. This method must be called if the operation is interrupted before completion.
      Specified by:
      cancel in interface Operation
      Overrides:
      cancel in class RegionVisitor
    • addStatusMessages

      public void addStatusMessages(List<String> messages)
      Description copied from interface: Operation
      Add messages to the provided list that describe the current status of the operation.
      Specified by:
      addStatusMessages in interface Operation
      Parameters:
      messages - The list to add messages to