Class GenerateTreeBrush

java.lang.Object
com.thevoxelbox.voxelsniper.brush.type.AbstractBrush
com.thevoxelbox.voxelsniper.brush.type.GenerateTreeBrush
All Implemented Interfaces:
Brush, VoxelCommandElement

public class GenerateTreeBrush extends AbstractBrush
  • Constructor Details

    • GenerateTreeBrush

      public GenerateTreeBrush()
  • Method Details

    • loadProperties

      public void loadProperties()
      Description copied from interface: Brush
      Load brush properties.
      Specified by:
      loadProperties in interface Brush
      Overrides:
      loadProperties in class AbstractBrush
    • onBrush

      public void onBrush(@NotNull @NotNull Snipe snipe)
    • onBrushInfo

      public void onBrushInfo(@NotNull @NotNull Snipe snipe)
    • onBrushDefault

      public void onBrushDefault(@NotNull @NotNull Snipe snipe)
    • onBrushLt

      public void onBrushLt(@NotNull @NotNull Snipe snipe, @NotNull @NotNull BlockType leafType)
    • onBrushWt

      public void onBrushWt(@NotNull @NotNull Snipe snipe, @NotNull @NotNull BlockType woodType)
    • onBrushTt

      public void onBrushTt(@NotNull @NotNull Snipe snipe, int thickness)
    • onBrushRf

      public void onBrushRf(@NotNull @NotNull Snipe snipe, boolean rootFloat)
    • onBrushSh

      public void onBrushSh(@NotNull @NotNull Snipe snipe, int startHeight)
    • onBrushRl

      public void onBrushRl(@NotNull @NotNull Snipe snipe, int rootLength)
    • onBrushTs

      public void onBrushTs(@NotNull @NotNull Snipe snipe, int slopeChance)
    • onBrushBl

      public void onBrushBl(@NotNull @NotNull Snipe snipe, int branchLength)
    • onBrushMinr

      public void onBrushMinr(@NotNull @NotNull Snipe snipe, int minRoots)
    • onBrushMaxr

      public void onBrushMaxr(@NotNull @NotNull Snipe snipe, int maxRoots)
    • onBrushMinh

      public void onBrushMinh(@NotNull @NotNull Snipe snipe, int heightMin)
    • onBrushMaxh

      public void onBrushMaxh(@NotNull @NotNull Snipe snipe, int heightMax)
    • onBrushMinl

      public void onBrushMinl(@NotNull @NotNull Snipe snipe, int nodeMin)
    • onBrushMaxl

      public void onBrushMaxl(@NotNull @NotNull Snipe snipe, int nodeMax)
    • handleArrowAction

      public void handleArrowAction(Snipe snipe)
      Description copied from interface: Brush
      The arrow action. Executed when a player right clicks with an arrow
      Parameters:
      snipe - Snipe
    • handleGunpowderAction

      public void handleGunpowderAction(Snipe snipe)
      Description copied from interface: Brush
      The gunpowder action. Executed when a player right clicks with gunpowder
      Parameters:
      snipe - Snipe
    • sendInfo

      public void sendInfo(Snipe snipe)
      Description copied from interface: Brush
      Send brush information.
      Parameters:
      snipe - Snipe