Package org.bukkit.block.data.type
Interface Switch
- All Superinterfaces:
BlockData
,Cloneable
,Directional
,FaceAttachable
,Powerable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.block.data.FaceAttachable
FaceAttachable.AttachedFace
-
Method Summary
Modifier and TypeMethodDescriptiongetFace()
Deprecated.void
setFace
(@NotNull Switch.Face face) Deprecated.Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
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 Details
-
getFace
Deprecated.Gets the value of the 'face' property.- Returns:
- the 'face' value
-
setFace
Deprecated.Sets the value of the 'face' property.- Parameters:
face
- the new 'face' value
-
FaceAttachable.AttachedFace