Package org.bukkit.block.data
Interface FaceAttachable
- All Known Subinterfaces:
Grindstone,Switch
public interface FaceAttachable extends BlockData
'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
Nested Classes Modifier and Type Interface Description static classFaceAttachable.AttachedFaceThe face to which a switch type block is stuck. -
Method Summary
Modifier and Type Method Description FaceAttachable.AttachedFacegetAttachedFace()Gets the value of the 'face' property.voidsetAttachedFace(FaceAttachable.AttachedFace face)Sets the value of the 'face' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getMaterial, 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
-