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 withDirectionalto 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
All Methods Instance Methods Abstract Methods 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, getSoundGroup, matches, merge
-
-
-
-
Method Detail
-
getAttachedFace
@NotNull FaceAttachable.AttachedFace getAttachedFace()
Gets the value of the 'face' property.- Returns:
- the 'face' value
-
setAttachedFace
void setAttachedFace(@NotNull FaceAttachable.AttachedFace face)
Sets the value of the 'face' property.- Parameters:
face- the new 'face' value
-
-