public interface ImmutableLayeredData extends ImmutableDataManipulator<ImmutableLayeredData,LayeredData>
ImmutableDataManipulator
for the "layer" of a block. Usually this
means that the BlockState
has varying "layers". Usually applies to
BlockTypes.SNOW_LAYER
or BlockTypes.CAKE
. This is different
data from ImmutableFluidLevelData
.Modifier and Type | Method and Description |
---|---|
ImmutableBoundedValue<Integer> |
layer()
Gets the
ImmutableBoundedValue for the "layer" state. |
asMutable, copy, with, with
getContentVersion, toContainer
ImmutableBoundedValue<Integer> layer()
ImmutableBoundedValue
for the "layer" state.