Class AbstractBlendBrush

java.lang.Object
com.thevoxelbox.voxelsniper.brush.type.AbstractBrush
com.thevoxelbox.voxelsniper.brush.type.blend.AbstractBlendBrush
All Implemented Interfaces:
Brush, VoxelCommandElement
Direct Known Subclasses:
BlendBallBrush, BlendDiscBrush, BlendVoxelBrush, BlendVoxelDiscBrush

public abstract class AbstractBlendBrush extends AbstractBrush
  • Constructor Details

    • AbstractBlendBrush

      public AbstractBlendBrush()
  • Method Details

    • onBrushWaterCommand

      protected void onBrushWaterCommand(Snipe snipe)
    • 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
    • blend

      public abstract void blend(Snipe snipe)
    • setBlocks

      protected void setBlocks(Map<BlockVector3,BlockType> blockTypes)
    • findCommonMaterial

      protected com.thevoxelbox.voxelsniper.brush.type.blend.CommonMaterial findCommonMaterial(Map<BlockType,Integer> blockTypesFrequencies)
    • sendInfo

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

      public void setAirExcluded(boolean airExcluded)