public interface ItemDisplayProperties
Modifier and Type | Method and Description |
---|---|
default void |
addLore(int index,
String... lore)
Adds lore to the item starting from a specific index.
|
default void |
addLore(String... lore)
Appends lore to the item.
|
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.
|
default void |
setLore(String... lore)
Set the lore of the item.
|
String displayName()
null
if non-existent.void setDisplayName(String displayName)
displayName
- Display name you wish to set the item to.List<String> lore()
null
if non-existent.void setLore(List<String> lore)
lore
- Lore you wish to set the item to.default void setLore(String... lore)
lore
- Lore you wish to set it to.default void addLore(int index, String... lore)
index
- Index to begin insertion at.lore
- Lore to be added.addLore(String...)
default void addLore(String... lore)
lore
- Lore to be appended.addLore(int, String...)
Copyright © 2016. All rights reserved.