Class CloneStampBrush
java.lang.Object
com.thevoxelbox.voxelsniper.brush.type.AbstractBrush
com.thevoxelbox.voxelsniper.brush.type.stamp.AbstractStampBrush
com.thevoxelbox.voxelsniper.brush.type.stamp.CloneStampBrush
- All Implemented Interfaces:
Brush
,VoxelCommandElement
The CloneStamp class is used to create a collection of blocks in a cylinder shape according to the selection the player has set.
-
Field Summary
Fields inherited from class com.thevoxelbox.voxelsniper.brush.type.stamp.AbstractStampBrush
clone, drop, fall, solid, sorted, stamp
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 TypeMethodDescriptionvoid
handleGunpowderAction
(Snipe snipe) The gunpowder action.void
Load brush properties.void
void
void
void
void
void
onBrushInfo
(@NotNull Snipe snipe) void
onBrushStamptype
(@NotNull Snipe snipe, @NotNull StampType stampType) void
Send brush information.Methods inherited from class com.thevoxelbox.voxelsniper.brush.type.stamp.AbstractStampBrush
falling, fallsOff, getStamp, handleArrowAction, reSort, setBlock, setBlockFill, setStamp, stamp, stampFill, stampNoAir
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
-
CloneStampBrush
public CloneStampBrush()
-
-
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
-
onBrushStamptype
-
onBrushA
-
onBrushF
-
onBrushD
-
onBrushC
-
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
-