public interface ImmutableMinecartBlockData extends ImmutableDataManipulator<ImmutableMinecartBlockData,MinecartBlockData>
Modifier and Type | Method and Description |
---|---|
ImmutableValue<BlockState> |
block()
Gets the
BlockState represented by the Minecart . |
ImmutableValue<Integer> |
offset()
Gets the offset of the represented block, in "pixels".
|
asMutable, copy, with, with
getContentVersion, toContainer
ImmutableValue<BlockState> block()
BlockState
represented by the Minecart
.ImmutableValue<Integer> offset()
Positive values move the block upwards in relation to the minecart, and negative values move the block downwards.