public interface MinecartBlockData extends DataManipulator<MinecartBlockData,ImmutableMinecartBlockData>
Modifier and Type | Method and Description |
---|---|
Value<BlockState> |
block()
Gets the
BlockState represented by the Minecart . |
Value<Integer> |
offset()
Gets the offset of the represented block, in "pixels".
|
asImmutable, copy, fill, fill, from, set, set, set, set, transform
getContentVersion, toContainer
Value<BlockState> block()
BlockState
represented by the Minecart
.Keys.REPRESENTED_BLOCK
Value<Integer> offset()
Positive values move the block upwards in relation to the minecart, and negative values move the block downwards.
Keys.OFFSET