public class ExtentBiomeCopy extends java.lang.Object implements FlatRegionFunction, RegionFunction
Constructor and Description |
---|
ExtentBiomeCopy(Extent source,
BlockVector2 from,
Extent destination,
BlockVector2 to,
Transform transform)
|
ExtentBiomeCopy(Extent source,
BlockVector3 from,
Extent destination,
BlockVector3 to,
Transform transform)
Make a new biome copy.
|
Modifier and Type | Method and Description |
---|---|
boolean |
apply(BlockVector2 position)
Deprecated.
|
boolean |
apply(BlockVector3 position)
Apply the function to the given position.
|
@Deprecated public ExtentBiomeCopy(Extent source, BlockVector2 from, Extent destination, BlockVector2 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 ExtentBiomeCopy(Extent source, BlockVector3 from, Extent destination, BlockVector3 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(BlockVector3 position) throws WorldEditException
RegionFunction
apply
in interface RegionFunction
position
- the positionWorldEditException
- thrown on an error@Deprecated public boolean apply(BlockVector2 position) throws WorldEditException
FlatRegionFunction
apply
in interface FlatRegionFunction
position
- the positionWorldEditException
- thrown on an error