Interface Jigsaw
'orientation' is the direction the block is facing.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the 'orientation' property.voidsetOrientation(Orientation orientation) Sets the value of the 'orientation' property.Methods inherited from interface 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, rotate
-
Method Details
-
getOrientation
Gets the value of the 'orientation' property.- Returns:
- the 'orientation' value
-
setOrientation
Sets the value of the 'orientation' property.- Parameters:
orientation- the new 'orientation' value
-
Orientationinstead.