public class Counter extends java.lang.Object implements RegionFunction
apply(BlockVector3)
is
called.Constructor and Description |
---|
Counter() |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(BlockVector3 position)
Apply the function to the given position.
|
int |
getCount()
Returns the number of blocks that have been counted.
|
public int getCount()
public boolean apply(BlockVector3 position) throws WorldEditException
RegionFunction
apply
in interface RegionFunction
position
- the positionWorldEditException
- thrown on an error