public class ItemDisplayPropertiesImpl extends Object implements ItemDisplayProperties, NBTSerializable
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
lore |
protected String |
name |
| Constructor and Description |
|---|
ItemDisplayPropertiesImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
displayName()
Returns display name of the item,
null if non-existent. |
List<String> |
lore()
Returns lore of the item,
null if non-existent. |
void |
setDisplayName(String displayName)
Sets the display name.
|
void |
setLore(List<String> lore)
Sets the lore of the item.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLore, addLore, setLoreprocesspublic ItemDisplayPropertiesImpl()
public String displayName()
ItemDisplayPropertiesnull if non-existent.displayName in interface ItemDisplayPropertiespublic void setDisplayName(String displayName)
ItemDisplayPropertiessetDisplayName in interface ItemDisplayPropertiesdisplayName - Display name you wish to set the item to.public List<String> lore()
ItemDisplayPropertiesnull if non-existent.lore in interface ItemDisplayPropertiespublic void setLore(List<String> lore)
ItemDisplayPropertiessetLore in interface ItemDisplayPropertieslore - Lore you wish to set the item to.Copyright © 2016. All rights reserved.