Class CloneStampBrush

All Implemented Interfaces:
Brush, VoxelCommandElement

public class CloneStampBrush extends AbstractStampBrush
The CloneStamp class is used to create a collection of blocks in a cylinder shape according to the selection the player has set.
  • Constructor Details

    • CloneStampBrush

      public CloneStampBrush()
  • 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)
    • onBrushStamptype

      public void onBrushStamptype(@NotNull @NotNull Snipe snipe, @NotNull @NotNull StampType stampType)
    • onBrushA

      public void onBrushA(@NotNull @NotNull Snipe snipe)
    • onBrushF

      public void onBrushF(@NotNull @NotNull Snipe snipe)
    • onBrushD

      public void onBrushD(@NotNull @NotNull Snipe snipe)
    • onBrushC

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