Package | Description |
---|---|
org.bukkit.inventory.meta.tags |
Classes that allow attaching custom data to items.
|
Modifier and Type | Class | Description |
---|---|---|
static class |
ItemTagType.PrimitiveTagType<T> |
Deprecated.
A default implementation that simply exists to pass on the retrieved or
inserted value to the next layer.
|
Modifier and Type | Field | Description |
---|---|---|
static ItemTagType<Byte,Byte> |
ItemTagType.BYTE |
Deprecated.
|
static ItemTagType<byte[],byte[]> |
ItemTagType.BYTE_ARRAY |
Deprecated.
|
static ItemTagType<Double,Double> |
ItemTagType.DOUBLE |
Deprecated.
|
static ItemTagType<Float,Float> |
ItemTagType.FLOAT |
Deprecated.
|
static ItemTagType<Integer,Integer> |
ItemTagType.INTEGER |
Deprecated.
|
static ItemTagType<int[],int[]> |
ItemTagType.INTEGER_ARRAY |
Deprecated.
|
static ItemTagType<Long,Long> |
ItemTagType.LONG |
Deprecated.
|
static ItemTagType<long[],long[]> |
ItemTagType.LONG_ARRAY |
Deprecated.
|
static ItemTagType<Short,Short> |
ItemTagType.SHORT |
Deprecated.
|
static ItemTagType<String,String> |
ItemTagType.STRING |
Deprecated.
|
static ItemTagType<CustomItemTagContainer,CustomItemTagContainer> |
ItemTagType.TAG_CONTAINER |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
<T,Z> Z |
CustomItemTagContainer.getCustomTag(NamespacedKey key,
ItemTagType<T,Z> type) |
Deprecated.
Returns the custom tag's value that is stored on the item.
|
<T,Z> boolean |
CustomItemTagContainer.hasCustomTag(NamespacedKey key,
ItemTagType<T,Z> type) |
Deprecated.
Returns if the item meta has a custom tag registered matching the
provided parameters.
|
<T,Z> void |
CustomItemTagContainer.setCustomTag(NamespacedKey key,
ItemTagType<T,Z> type,
Z value) |
Deprecated.
Stores a custom value on the
ItemMeta . |
Copyright © 2020. All rights reserved.