Class SurfaceRegionFunction
java.lang.Object
com.fastasyncworldedit.core.function.SurfaceRegionFunction
- All Implemented Interfaces:
FlatRegionFunction
-
Constructor Summary
ConstructorDescriptionSurfaceRegionFunction
(Extent extent, RegionFunction function, int minY, int maxY) -
Method Summary
Modifier and TypeMethodDescriptionboolean
apply
(BlockVector2 position) Apply the function to the given position.
-
Constructor Details
-
SurfaceRegionFunction
-
-
Method Details
-
apply
Description copied from interface:FlatRegionFunction
Apply the function to the given position.- Specified by:
apply
in interfaceFlatRegionFunction
- Parameters:
position
- the position- Returns:
- true if something was changed
- Throws:
WorldEditException
- thrown on an error
-