Package | Description |
---|---|
org.bukkit.inventory.meta.tags |
Classes that allow attaching custom data to items.
|
Modifier and Type | Class and 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 and 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 and Description |
---|---|
<T,Z> Z |
CustomItemTagContainer.getCustomTag(@NotNull NamespacedKey key,
@NotNull ItemTagType<T,Z> type)
Deprecated.
Returns the custom tag's value that is stored on the item.
|
<T,Z> boolean |
CustomItemTagContainer.hasCustomTag(@NotNull NamespacedKey key,
@NotNull ItemTagType<T,Z> type)
Deprecated.
Returns if the item meta has a custom tag registered matching the
provided parameters.
|
<T,Z> void |
CustomItemTagContainer.setCustomTag(@NotNull NamespacedKey key,
@NotNull ItemTagType<T,Z> type,
Z value)
Deprecated.
Stores a custom value on the
ItemMeta . |
Copyright © 2021. All rights reserved.