Package org.bukkit.block.data
Interface Brushable
'dusted' represents how far uncovered by brush the block is.
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the value of the 'dusted' property.int
Gets the maximum allowed value of the 'dusted' property.void
setDusted
(int dusted) Sets the value of the 'dusted' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
Method Details
-
getDusted
int getDusted()Gets the value of the 'dusted' property.- Returns:
- the 'dusted' value
-
setDusted
void setDusted(int dusted) Sets the value of the 'dusted' property.- Parameters:
dusted
- the new 'dusted' value
-
getMaximumDusted
int getMaximumDusted()Gets the maximum allowed value of the 'dusted' property.- Returns:
- the maximum 'dusted' value
-