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.FacegetFace()Deprecated.voidSets the value of the 'face' property.default voidsetFace(@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, isReplaceable, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotateMethods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacingMethods inherited from interface org.bukkit.block.data.Powerable
isPowered, setPowered
-
Method Details
-
getAttachedFace
Description copied from interface:FaceAttachableGets the value of the 'face' property.- Specified by:
getAttachedFacein interfaceFaceAttachable- Returns:
- the 'face' value
-
setAttachedFace
Description copied from interface:FaceAttachableSets the value of the 'face' property.- Specified by:
setAttachedFacein 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