public class Counter extends Object implements RegionFunction
apply(Vector) is called.| Constructor and Description |
|---|
Counter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(Vector 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(Vector position) throws WorldEditException
RegionFunctionapply in interface RegionFunctionposition - the positionWorldEditException - thrown on an errorCopyright © 2010-2014. All Rights Reserved.