Class SignOverwriteBrush
java.lang.Object
com.thevoxelbox.voxelsniper.brush.type.AbstractBrush
com.thevoxelbox.voxelsniper.brush.type.SignOverwriteBrush
- All Implemented Interfaces:
Brush
,VoxelCommandElement
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.thevoxelbox.voxelsniper.brush.type.AbstractBrush
CHUNK_SIZE, CONFIG, DECIMAL_FORMAT, PLUGIN, PLUGIN_DATA_FOLDER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleArrowAction
(Snipe snipe) The arrow action.void
handleGunpowderAction
(Snipe snipe) The gunpowder action.void
Load brush properties.void
void
onBrushClear
(@NotNull Snipe snipe) void
onBrushClearall
(@NotNull Snipe snipe) void
onBrushInfo
(@NotNull Snipe snipe) void
onBrushLineSet
(@NotNull Snipe snipe, int line, @NotNull String text) void
onBrushLineToggle
(@NotNull Snipe snipe, int line) void
onBrushList
(@NotNull Snipe snipe) void
onBrushMultiple
(@NotNull Snipe snipe, boolean rangedMode) void
onBrushOpen
(@NotNull Snipe snipe, @NotNull File sign) void
onBrushSave
(@NotNull Snipe snipe, @NotNull File sign) void
onBrushSide
(@NotNull Snipe snipe, @NotNull SignOverwriteBrush.Side side) void
Send 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
-
SignOverwriteBrush
public SignOverwriteBrush()
-
-
Method Details
-
loadProperties
public void loadProperties()Description copied from interface:Brush
Load brush properties.- Specified by:
loadProperties
in interfaceBrush
- Overrides:
loadProperties
in classAbstractBrush
-
onBrush
-
onBrushInfo
-
onBrushList
-
onBrushClear
-
onBrushClearall
-
onBrushSide
public void onBrushSide(@NotNull @NotNull Snipe snipe, @NotNull @NotNull SignOverwriteBrush.Side side) -
onBrushLineSet
-
onBrushLineToggle
-
onBrushMultiple
-
onBrushSave
-
onBrushOpen
-
handleArrowAction
Description copied from interface:Brush
The arrow action. Executed when a player right clicks with an arrow- Parameters:
snipe
- Snipe
-
handleGunpowderAction
Description copied from interface:Brush
The gunpowder action. Executed when a player right clicks with gunpowder- Parameters:
snipe
- Snipe
-
sendInfo
Description copied from interface:Brush
Send brush information.- Parameters:
snipe
- Snipe
-