Minestom/src/main/java/net/minestom/server/item/ItemDisplay.java

33 lines
635 B
Java
Raw Normal View History

2020-08-18 02:16:30 +02:00
package net.minestom.server.item;
import net.minestom.server.chat.ColoredText;
public class ItemDisplay {
private ColoredText displayName;
private ColoredText[] lore;
public ItemDisplay(ColoredText displayName, ColoredText[] lore) {
this.displayName = displayName;
this.lore = lore;
}
/**
* Get the item display name
*
* @return the item display name
*/
public ColoredText getDisplayName() {
return displayName;
}
/**
* Get the item lore
*
* @return the item lore
*/
public ColoredText[] getLore() {
return lore;
}
}