public final class ItemTag extends Object
HoverEvent.Action.SHOW_ITEM| Modifier and Type | Class and Description |
|---|---|
static class |
ItemTag.Builder |
static class |
ItemTag.Enchantment |
static class |
ItemTag.Serializer |
| Constructor and Description |
|---|
ItemTag(BaseComponent name,
List<ItemTag.Enchantment> enchantments,
List<BaseComponent[]> lore,
Boolean unbreakable) |
| Modifier and Type | Method and Description |
|---|---|
static ItemTag.Builder |
builder() |
boolean |
equals(Object o) |
int |
hashCode() |
void |
setEnchantments(List<ItemTag.Enchantment> enchantments) |
void |
setLore(List<BaseComponent[]> lore) |
void |
setName(BaseComponent name) |
void |
setUnbreakable(Boolean unbreakable) |
String |
toString() |
public ItemTag(BaseComponent name, List<ItemTag.Enchantment> enchantments, List<BaseComponent[]> lore, Boolean unbreakable)
public static ItemTag.Builder builder()
public void setName(BaseComponent name)
public void setEnchantments(List<ItemTag.Enchantment> enchantments)
public void setLore(List<BaseComponent[]> lore)
public void setUnbreakable(Boolean unbreakable)
Copyright © 2015–2020 WaterfallMC. All rights reserved.