Interface Directional
- All Superinterfaces:
BlockData
A block state carrying the
facing property: the side the block faces.
Block states are immutable: with... methods return another state and leave this one
untouched.
- Since:
- 0.1.0
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault BlockFaceReturns the side the block faces.default DirectionalwithFacing(BlockFace facing) Returns the same block with anotherfacingvalue.
-
Method Details
-
getFacing
Returns the side the block faces.- Returns:
- the side the block faces
- Since:
- 0.1.0
-
withFacing
Returns the same block with anotherfacingvalue.- Parameters:
facing- the side to face; must be one of the values the block accepts- Returns:
- the same block with another
facingvalue - Since:
- 0.1.0
-