Package org.bukkit.block.data.type
Interface Bell
- All Superinterfaces:
BlockData
,Cloneable
,Directional
,Powerable
public interface Bell extends Directional, Powerable
'attachment' denotes how the bell is attached to its block.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Bell.Attachment
What the bell is attached to. -
Method Summary
Modifier and Type Method Description Bell.Attachment
getAttachment()
Gets the value of the 'attachment' property.void
setAttachment(Bell.Attachment attachment)
Sets the value of the 'attachment' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getMaterial, matches, merge
-
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
-