public class ExtentBlockCopy extends Object implements RegionFunction
| Constructor and Description |
|---|
ExtentBlockCopy(Extent source,
Vector from,
Extent destination,
Vector to,
Transform transform)
Make a new copy.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(Vector position)
Apply the function to the given position.
|
public ExtentBlockCopy(Extent source, Vector from, Extent destination, Vector to, Transform transform)
source - the source extentfrom - the source offsetdestination - the destination extentto - the destination offsettransform - a transform to apply to positions (after source offset, before destination offset)public boolean apply(Vector position) throws WorldEditException
RegionFunctionapply in interface RegionFunctionposition - the positionWorldEditException - thrown on an errorCopyright © 2010-2014. All Rights Reserved.