Package org.bukkit.block.data.type
Interface Switch
-
- All Superinterfaces:
BlockData
,Cloneable
,Directional
,FaceAttachable
,Powerable
public interface Switch extends Directional, FaceAttachable, Powerable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Switch.Face
Deprecated.-
Nested classes/interfaces inherited from interface org.bukkit.block.data.FaceAttachable
FaceAttachable.AttachedFace
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Switch.Face
getFace()
Deprecated.void
setFace(Switch.Face face)
Deprecated.-
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
-
Methods inherited from interface org.bukkit.block.data.FaceAttachable
getAttachedFace, setAttachedFace
-
Methods inherited from interface org.bukkit.block.data.Powerable
isPowered, setPowered
-
-
-
-
Method Detail
-
getFace
@NotNull @Deprecated Switch.Face getFace()
Deprecated.Gets the value of the 'face' property.- Returns:
- the 'face' value
-
setFace
@Deprecated void setFace(@NotNull Switch.Face face)
Deprecated.Sets the value of the 'face' property.- Parameters:
face
- the new 'face' value
-
-