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 classBell.AttachmentWhat the bell is attached to. -
Method Summary
Modifier and Type Method Description Bell.AttachmentgetAttachment()Gets the value of the 'attachment' property.voidsetAttachment(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
-