public interface ImmutableConnectedDirectionData extends ImmutableDataManipulator<ImmutableConnectedDirectionData,ConnectedDirectionData>
ImmutableDataManipulator
handling the values of the connected
Direction
s a BlockState
may have. Usually the connected
directions are all cartesian directions (north, east, south, west).Modifier and Type | Method and Description |
---|---|
ImmutableSetValue<Direction> |
connectedDirections()
Gets the
ImmutableSetValue for the currently "connected"
Direction s. |
ImmutableValue<Boolean> |
connectedEast()
Gets the
ImmutableValue for whether Direction.EAST is
"connected". |
ImmutableValue<Boolean> |
connectedNorth()
Gets the
ImmutableValue for whether Direction.NORTH is
"connected". |
ImmutableValue<Boolean> |
connectedSouth()
Gets the
ImmutableValue for whether Direction.SOUTH is
"connected". |
ImmutableValue<Boolean> |
connectedWest()
Gets the
ImmutableValue for whether Direction.WEST is
"connected". |
asMutable, copy, with, with
getContentVersion, toContainer
ImmutableSetValue<Direction> connectedDirections()
ImmutableSetValue
for the currently "connected"
Direction
s.ImmutableValue<Boolean> connectedNorth()
ImmutableValue
for whether Direction.NORTH
is
"connected".ImmutableValue<Boolean> connectedSouth()
ImmutableValue
for whether Direction.SOUTH
is
"connected".ImmutableValue<Boolean> connectedEast()
ImmutableValue
for whether Direction.EAST
is
"connected".ImmutableValue<Boolean> connectedWest()
ImmutableValue
for whether Direction.WEST
is
"connected".