Package org.bukkit.block.data
Interface FaceAttachable
- All Known Subinterfaces:
Grindstone
,Switch
'face' represents the face to which a lever or button is stuck.
This is used in conjunction with
This is used in conjunction with
Directional
to compute the
orientation of these blocks.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
The face to which a switch type block is stuck. -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the 'face' property.void
Sets the value of the 'face' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getMaterial, getSoundGroup, matches, merge
-
Method Details
-
getAttachedFace
Gets the value of the 'face' property.- Returns:
- the 'face' value
-
setAttachedFace
Sets the value of the 'face' property.- Parameters:
face
- the new 'face' value
-