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
FieldsModifier and TypeFieldDescriptionprotected final Set<StampBrushBlockWrapper> protected final Set<StampBrushBlockWrapper> protected final Set<StampBrushBlockWrapper> protected final Set<StampBrushBlockWrapper> protected booleanprotected StampTypeFields 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 TypeMethodDescriptionprotected booleanprotected booleangetStamp()voidhandleArrowAction(Snipe snipe) The arrow action.voidreSort()protected voidsetBlock(StampBrushBlockWrapper blockWrapper) protected voidsetBlockFill(StampBrushBlockWrapper blockWrapper) voidprotected voidstamp()protected voidprotected voidMethods 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, simulateSetBlockMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:BrushThe 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
-