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, transformgetContentVersion, toContainerValue<BlockState> block()
BlockState represented by the Minecart.Keys.REPRESENTED_BLOCKValue<Integer> offset()
Positive values move the block upwards in relation to the minecart, and negative values move the block downwards.
Keys.OFFSET