Package org.bukkit.block.data.type
Interface DecoratedPot
- All Superinterfaces:
BlockData
,Cloneable
,Directional
,Waterlogged
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setCracked
(boolean cracked) Set whether the pot is cracked.Methods inherited from interface org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
Methods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacing
Methods inherited from interface org.bukkit.block.data.Waterlogged
isWaterlogged, setWaterlogged
-
Method Details
-
isCracked
boolean isCracked()- Returns:
- whether the pot is cracked
-
setCracked
void setCracked(boolean cracked) Set whether the pot is cracked.- Parameters:
cracked
- whether the pot is cracked
-