Class AbstractBlendBrush
java.lang.Object
com.thevoxelbox.voxelsniper.brush.type.AbstractBrush
com.thevoxelbox.voxelsniper.brush.type.blend.AbstractBlendBrush
- All Implemented Interfaces:
Brush,VoxelCommandElement
- Direct Known Subclasses:
BlendBallBrush,BlendDiscBrush,BlendVoxelBrush,BlendVoxelDiscBrush
-
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 TypeMethodDescriptionabstract voidprotected com.thevoxelbox.voxelsniper.brush.type.blend.CommonMaterialfindCommonMaterial(Map<BlockType, Integer> blockTypesFrequencies) voidhandleArrowAction(Snipe snipe) The arrow action.voidhandleGunpowderAction(Snipe snipe) The gunpowder action.protected voidonBrushWaterCommand(Snipe snipe) voidSend brush information.voidsetAirExcluded(boolean airExcluded) protected voidsetBlocks(Map<BlockVector3, BlockType> blockTypes) 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
-
Constructor Details
-
AbstractBlendBrush
public AbstractBlendBrush()
-
-
Method Details
-
onBrushWaterCommand
-
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
-
blend
-
setBlocks
-
findCommonMaterial
-
sendInfo
Description copied from interface:BrushSend brush information.- Parameters:
snipe- Snipe
-
setAirExcluded
public void setAirExcluded(boolean airExcluded)
-