public interface DisplayNameData extends DataManipulator<DisplayNameData,ImmutableDisplayNameData>
ItemStack
, Entity
, or
TileEntity
.
Exceptions are made with written books as the title and display name are one and the same.
Modifier and Type | Method and Description |
---|---|
Value<Text> |
displayName()
Gets the display name as a
Text . |
asImmutable, copy, fill, fill, from, set, set, set, set, transform
getContentVersion, toContainer
Value<Text> displayName()
Text
. The display name may be
player set, or it may be undefined.Keys.DISPLAY_NAME