Class ExtentBlockCopy

java.lang.Object
com.sk89q.worldedit.function.block.ExtentBlockCopy
All Implemented Interfaces:
Filter, RegionFunction

public class ExtentBlockCopy extends Object implements RegionFunction
Copies blocks from one extent to another.
  • Constructor Details

    • ExtentBlockCopy

      public ExtentBlockCopy(Extent source, BlockVector3 from, Extent destination, BlockVector3 to, Transform transform)
      Make a new copy.
      Parameters:
      source - the source extent
      from - the source offset
      destination - the destination extent
      to - the destination offset
      transform - a transform to apply to positions (after source offset, before destination offset)
  • Method Details