Class ErodeBrush
java.lang.Object
com.fastasyncworldedit.core.command.tool.brush.ErodeBrush
- All Implemented Interfaces:
Brush
- Direct Known Subclasses:
RaiseBrush
-
Constructor Summary
ConstructorsConstructorDescriptionErodeBrush
(int erodeFaces, int erodeRecursion, int fillFaces, int fillRecursion) -
Method Summary
Modifier and TypeMethodDescriptionvoid
build
(EditSession editSession, BlockVector3 position, Pattern pattern, double size) Build the object.void
erosion
(EditSession es, int erodeFaces, int erodeRecursion, int fillFaces, int fillRecursion, BlockVector3 target, double size)
-
Constructor Details
-
ErodeBrush
public ErodeBrush() -
ErodeBrush
public ErodeBrush(int erodeFaces, int erodeRecursion, int fillFaces, int fillRecursion)
-
-
Method Details
-
build
public void build(EditSession editSession, BlockVector3 position, Pattern pattern, double size) throws MaxChangedBlocksException Description copied from interface:Brush
Build the object.- Specified by:
build
in interfaceBrush
- Parameters:
editSession
- theEditSession
position
- the positionpattern
- the patternsize
- the size of the brush- Throws:
MaxChangedBlocksException
- if the maximum block change limit is exceeded
-
erosion
public void erosion(EditSession es, int erodeFaces, int erodeRecursion, int fillFaces, int fillRecursion, BlockVector3 target, double size)
-