java.lang.Object
com.thevoxelbox.voxelsniper.brush.type.AbstractBrush
com.thevoxelbox.voxelsniper.brush.type.canyon.CanyonBrush
All Implemented Interfaces:
Brush, VoxelCommandElement
Direct Known Subclasses:
CanyonSelectionBrush

public class CanyonBrush extends AbstractBrush
  • Constructor Details

    • CanyonBrush

      public CanyonBrush()
  • 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)
    • onBrushY

      public void onBrushY(@NotNull @NotNull Snipe snipe, int yLevel)
    • 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
    • canyon

      protected void canyon(int chunkX, int chunkZ)
    • sendInfo

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

      public int getYLevel()