Package org.bukkit.block.data.type
Interface Bell
-
- All Superinterfaces:
BlockData
,Cloneable
,Directional
public interface Bell extends Directional
'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
All Methods Instance Methods Abstract Methods 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
-
Methods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacing
-
-
-
-
Method Detail
-
getAttachment
@NotNull Bell.Attachment getAttachment()
Gets the value of the 'attachment' property.- Returns:
- the 'attachment' value
-
setAttachment
void setAttachment(@NotNull Bell.Attachment attachment)
Sets the value of the 'attachment' property.- Parameters:
attachment
- the new 'attachment' value
-
-