Class GenerateTreeBrush
java.lang.Object
com.thevoxelbox.voxelsniper.brush.type.AbstractBrush
com.thevoxelbox.voxelsniper.brush.type.GenerateTreeBrush
- All Implemented Interfaces:
Brush,VoxelCommandElement
-
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.voidLoad brush properties.voidvoidvoidonBrushDefault(@NotNull Snipe snipe) voidonBrushInfo(@NotNull Snipe snipe) voidvoidonBrushMaxh(@NotNull Snipe snipe, int heightMax) voidonBrushMaxl(@NotNull Snipe snipe, int nodeMax) voidonBrushMaxr(@NotNull Snipe snipe, int maxRoots) voidonBrushMinh(@NotNull Snipe snipe, int heightMin) voidonBrushMinl(@NotNull Snipe snipe, int nodeMin) voidonBrushMinr(@NotNull Snipe snipe, int minRoots) voidvoidvoidvoidvoidvoidvoidSend 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, onBrushCommand, onBrushInfoCommand, perform, refreshChunk, regenerateChunk, setBiome, setBlock, setBlock, setBlock, setBlock, setBlockData, setBlockData, setLastBlock, setProperties, setTargetBlock, simulateSetBlock
-
Constructor Details
-
GenerateTreeBrush
public GenerateTreeBrush()
-
-
Method Details
-
loadProperties
public void loadProperties()Description copied from interface:BrushLoad brush properties.- Specified by:
loadPropertiesin interfaceBrush- Overrides:
loadPropertiesin classAbstractBrush
-
onBrush
-
onBrushInfo
-
onBrushDefault
-
onBrushLt
-
onBrushWt
-
onBrushTt
-
onBrushRf
-
onBrushSh
-
onBrushRl
-
onBrushTs
-
onBrushBl
-
onBrushMinr
-
onBrushMaxr
-
onBrushMinh
-
onBrushMaxh
-
onBrushMinl
-
onBrushMaxl
-
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
-