public interface MinecartBase extends Entity
Modifier and Type | Method and Description |
---|---|
BlockSnapshot |
displayTitle()
Represents this Minecart's display tile, in the form of a BlockState
|
String |
name()
Gets the custom name of this Minecart
|
void |
setDisplayTile(BlockSnapshot blockState)
Set this Minecart's display tile to the specified block state
|
void |
setDisplayTileOffset(int offset)
Set the offset for this Minecart's display tile
|
void |
setName(String name)
Sets the custom name of this Minecart
|
int |
titleOffset()
Get the offset for this Minecart's display tile
|
applyProperties, boundingBox, displayName, eject, entityId, isNameVisible, isSilent, onGround, passenger, position, remove, setDisplayName, setPassenger, setSize, setVelocity, teleport, teleport, teleport, type, uniqueId, velocity, withinRange, world
BlockSnapshot displayTitle()
void setDisplayTile(BlockSnapshot blockState)
blockState
- the state to set this toint titleOffset()
void setDisplayTileOffset(int offset)
offset
- the offset to setCopyright © 2016. All rights reserved.