Package org.bukkit.block.data.type
Interface Switch
- All Superinterfaces:
BlockData
,Cloneable
,Directional
,FaceAttachable
,Powerable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.bukkit.block.data.FaceAttachable
FaceAttachable.AttachedFace
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the 'face' property.default @NotNull Switch.Face
getFace()
Deprecated.void
Sets the value of the 'face' property.default void
setFace
(@NotNull Switch.Face face) Deprecated.Methods inherited from interface org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, 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.Powerable
isPowered, setPowered
-
Method Details
-
getAttachedFace
Description copied from interface:FaceAttachable
Gets the value of the 'face' property.- Specified by:
getAttachedFace
in interfaceFaceAttachable
- Returns:
- the 'face' value
-
setAttachedFace
Description copied from interface:FaceAttachable
Sets the value of the 'face' property.- Specified by:
setAttachedFace
in interfaceFaceAttachable
- Parameters:
face
- the new 'face' value
-
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