Class MoveBrush

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

public class MoveBrush extends AbstractBrush
Moves a selection blockPositionY a certain amount.
  • Constructor Details

    • MoveBrush

      public MoveBrush()
  • 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)
    • onBrushReset

      public void onBrushReset(@NotNull @NotNull Snipe snipe)
    • onBrushX

      public void onBrushX(@NotNull @NotNull Snipe snipe, int xDirection)
    • onBrushY

      public void onBrushY(@NotNull @NotNull Snipe snipe, int yDirection)
    • onBrushZ

      public void onBrushZ(@NotNull @NotNull Snipe snipe, int zDirection)
    • 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