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

public class EntityBrush extends AbstractBrush
  • Constructor Details

    • EntityBrush

      public EntityBrush()
  • 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)
    • onBrushList

      public void onBrushList(@NotNull @NotNull Snipe snipe)
    • onBrushEntitytype

      public void onBrushEntitytype(@NotNull @NotNull Snipe snipe, @NotNull @NotNull EntityType entityType)
    • 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