Package org.bukkit.block.data.type
Interface Bell
- All Superinterfaces:
BlockData
,Cloneable
,Directional
,Powerable
'attachment' denotes how the bell is attached to its block.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the 'attachment' property.void
setAttachment
(@NotNull Bell.Attachment attachment) Sets the value of the 'attachment' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, requiresCorrectToolForDrops
Methods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacing
Methods inherited from interface org.bukkit.block.data.Powerable
isPowered, setPowered
-
Method Details
-
getAttachment
Gets the value of the 'attachment' property.- Returns:
- the 'attachment' value
-
setAttachment
Sets the value of the 'attachment' property.- Parameters:
attachment
- the new 'attachment' value
-