java.lang.Object
com.fastasyncworldedit.core.command.tool.brush.ErodeBrush
All Implemented Interfaces:
Brush
Direct Known Subclasses:
RaiseBrush

public class ErodeBrush extends Object implements Brush
  • 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 interface Brush
      Parameters:
      editSession - the EditSession
      position - the position
      pattern - the pattern
      size - 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)