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
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
protected com.thevoxelbox.voxelsniper.brush.type.blend.CommonMaterial
findCommonMaterial
(Map<BlockType, Integer> blockTypesFrequencies) void
handleArrowAction
(Snipe snipe) The arrow action.void
handleGunpowderAction
(Snipe snipe) The gunpowder action.protected void
onBrushWaterCommand
(Snipe snipe) void
Send brush information.void
setAirExcluded
(boolean airExcluded) protected void
setBlocks
(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: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
-
blend
-
setBlocks
-
findCommonMaterial
-
sendInfo
Description copied from interface:Brush
Send brush information.- Parameters:
snipe
- Snipe
-
setAirExcluded
public void setAirExcluded(boolean airExcluded)
-