Class AbstractStampBrush
java.lang.Object
com.thevoxelbox.voxelsniper.brush.type.AbstractBrush
com.thevoxelbox.voxelsniper.brush.type.stamp.AbstractStampBrush
- All Implemented Interfaces:
Brush
,VoxelCommandElement
- Direct Known Subclasses:
CloneStampBrush
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Set
<StampBrushBlockWrapper> protected final Set
<StampBrushBlockWrapper> protected final Set
<StampBrushBlockWrapper> protected final Set
<StampBrushBlockWrapper> protected boolean
protected StampType
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 TypeMethodDescriptionprotected boolean
protected boolean
getStamp()
void
handleArrowAction
(Snipe snipe) The arrow action.void
reSort()
protected void
setBlock
(StampBrushBlockWrapper blockWrapper) protected void
setBlockFill
(StampBrushBlockWrapper blockWrapper) void
protected void
stamp()
protected void
protected void
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.thevoxelbox.voxelsniper.brush.Brush
handleGunpowderAction, sendInfo
-
Field Details
-
clone
-
fall
-
drop
-
solid
-
sorted
protected boolean sorted -
stamp
-
-
Constructor Details
-
AbstractStampBrush
public AbstractStampBrush()
-
-
Method Details
-
handleArrowAction
Description copied from interface:Brush
The arrow action. Executed when a player right clicks with an arrow- Parameters:
snipe
- Snipe
-
reSort
public void reSort() -
falling
-
fallsOff
-
setBlock
-
setBlockFill
-
stamp
protected void stamp() -
stampFill
protected void stampFill() -
stampNoAir
protected void stampNoAir() -
getStamp
-
setStamp
-