public class ItemMeta
extends java.lang.Object
| Constructor and Description |
|---|
ItemMeta() |
| Modifier and Type | Method and Description |
|---|---|
ItemMeta |
addTags(ItemTag... tags)
Add tags to the item.
|
ItemMeta |
addTypes(ItemType... types)
Add types to the item.
|
int |
getMaxCount() |
int |
getMaxDamage() |
java.util.List<ItemTag> |
getTags()
Get the tags of the item
|
java.util.List<ItemType> |
getTypes() |
ItemMeta |
setMaxCount(int maxCount)
Set the max count of the item.
|
ItemMeta |
setMaxDamage(int maxDamage)
Set the max damage of the item.
|
public java.util.List<ItemType> getTypes()
public ItemMeta addTypes(ItemType... types)
types - The types to addpublic java.util.List<ItemTag> getTags()
public ItemMeta addTags(ItemTag... tags)
tags - The tags to addpublic int getMaxCount()
public ItemMeta setMaxCount(int maxCount)
maxCount - The max count of the itempublic int getMaxDamage()
public ItemMeta setMaxDamage(int maxDamage)
maxDamage - The max damage of the item