Package org.bukkit.block.data.type
Interface DecoratedPot
- All Superinterfaces:
BlockData,Cloneable,Directional,Waterlogged
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetCracked(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, rotateMethods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacingMethods 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
-