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, wait
addLore, addLore, setLore
process
public ItemDisplayPropertiesImpl()
public String displayName()
ItemDisplayProperties
null
if non-existent.displayName
in interface ItemDisplayProperties
public void setDisplayName(String displayName)
ItemDisplayProperties
setDisplayName
in interface ItemDisplayProperties
displayName
- Display name you wish to set the item to.public List<String> lore()
ItemDisplayProperties
null
if non-existent.lore
in interface ItemDisplayProperties
public void setLore(List<String> lore)
ItemDisplayProperties
setLore
in interface ItemDisplayProperties
lore
- Lore you wish to set the item to.Copyright © 2016. All rights reserved.