public class BlockReplace extends java.lang.Object implements RegionFunction
Constructor and Description |
---|
BlockReplace(Extent extent,
Pattern pattern)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
apply(BlockVector3 position)
Apply the function to the given position.
|
public boolean apply(BlockVector3 position) throws WorldEditException
RegionFunction
apply
in interface RegionFunction
position
- the positionWorldEditException
- thrown on an error