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 enum
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, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
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
-