Class ErodeBrush
java.lang.Object
com.thevoxelbox.voxelsniper.brush.type.AbstractBrush
com.thevoxelbox.voxelsniper.brush.type.ErodeBrush
- All Implemented Interfaces:
Brush,VoxelCommandElement
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final recordstatic enum -
Field Summary
Fields inherited from class com.thevoxelbox.voxelsniper.brush.type.AbstractBrush
CHUNK_SIZE, CONFIG, DECIMAL_FORMAT, PLUGIN, PLUGIN_DATA_FOLDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleArrowAction(Snipe snipe) The arrow action.voidhandleGunpowderAction(Snipe snipe) The gunpowder action.voidvoidonBrushErosionfaces(@NotNull Snipe snipe, int erosionFaces) voidonBrushErosionrecursion(@NotNull Snipe snipe, int erosionRecursions) voidonBrushFillfaces(@NotNull Snipe snipe, int fillFaces) voidonBrushFillrecursion(@NotNull Snipe snipe, int fillRecursions) voidonBrushInfo(@NotNull Snipe snipe) voidonBrushPreset(@NotNull Snipe snipe, @NotNull ErodeBrush.Preset preset) voidSend brush information.Methods inherited from class com.thevoxelbox.voxelsniper.brush.type.AbstractBrush
clampY, clampY, clampY, createEntity, generateTree, getBlock, getBlock, getBlockType, getBlockType, getBooleanProperty, getDirection, getDoubleProperty, getEditSession, getEnumProperty, getFullBlock, getFullBlock, getHighestTerrainBlock, getIntegerProperty, getLastBlock, getListProperty, getProperties, getProperty, getProperty, getRegistryProperty, getRelativeBlock, getRelativeBlock, getStringProperty, getTargetBlock, loadProperties, onBrushCommand, onBrushInfoCommand, perform, refreshChunk, regenerateChunk, setBiome, setBlock, setBlock, setBlock, setBlock, setBlockData, setBlockData, setLastBlock, setProperties, setTargetBlock, simulateSetBlock
-
Constructor Details
-
ErodeBrush
public ErodeBrush()
-
-
Method Details
-
onBrush
-
onBrushInfo
-
onBrushPreset
public void onBrushPreset(@NotNull @NotNull Snipe snipe, @NotNull @NotNull ErodeBrush.Preset preset) -
onBrushErosionfaces
-
onBrushErosionrecursion
-
onBrushFillfaces
-
onBrushFillrecursion
-
handleArrowAction
Description copied from interface:BrushThe arrow action. Executed when a player right clicks with an arrow- Parameters:
snipe- Snipe
-
handleGunpowderAction
Description copied from interface:BrushThe gunpowder action. Executed when a player right clicks with gunpowder- Parameters:
snipe- Snipe
-
sendInfo
Description copied from interface:BrushSend brush information.- Parameters:
snipe- Snipe
-