public interface ItemMeta extends NBTSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
ItemMeta.HiddenModifierFlag |
Modifier and Type | Method and Description |
---|---|
ItemDisplayProperties |
displayProperties()
Gets the display properties of this item
|
Set<ItemMeta.HiddenModifierFlag> |
flags()
Gets the display flags of this item.
|
void |
setDisplayProperties(ItemDisplayProperties properties)
Sets the display properties of this item
|
void |
setFlag(ItemMeta.HiddenModifierFlag flag,
boolean shown)
Sets the display value of a specified flag.
|
process
Set<ItemMeta.HiddenModifierFlag> flags()
void setFlag(ItemMeta.HiddenModifierFlag flag, boolean shown)
flag
- The flag to be set.shown
- If true, the client can see the flag's value, otherwise it is
hidden.ItemDisplayProperties displayProperties()
void setDisplayProperties(ItemDisplayProperties properties)
properties
- the new display propertiesCopyright © 2016. All rights reserved.