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 @NotNull Bell.Attachment
getAttachment()
Gets 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, getMaterial, matches, merge
-
Methods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacing
-
-
-
-
Method Detail
-
getAttachment
@NotNull @NotNull Bell.Attachment getAttachment()
Gets the value of the 'attachment' property.- Returns:
- the 'attachment' value
-
setAttachment
void setAttachment(@NotNull @NotNull Bell.Attachment attachment)
Sets the value of the 'attachment' property.- Parameters:
attachment
- the new 'attachment' value
-
-