接口的使用
org.bukkit.inventory.meta.tags.ItemTagType
-
org.bukkit.inventory.meta.tags中ItemTagType的使用
修饰符和类型类说明static class
已过时。A default implementation that simply exists to pass on the retrieved or inserted value to the next layer.修饰符和类型字段说明static final ItemTagType<Byte,
Byte> ItemTagType.BYTE
已过时。static final ItemTagType<byte[],
byte[]> ItemTagType.BYTE_ARRAY
已过时。static final ItemTagType<Double,
Double> ItemTagType.DOUBLE
已过时。static final ItemTagType<Float,
Float> ItemTagType.FLOAT
已过时。static final ItemTagType<Integer,
Integer> ItemTagType.INTEGER
已过时。static final ItemTagType<int[],
int[]> ItemTagType.INTEGER_ARRAY
已过时。static final ItemTagType<Long,
Long> ItemTagType.LONG
已过时。static final ItemTagType<long[],
long[]> ItemTagType.LONG_ARRAY
已过时。static final ItemTagType<Short,
Short> ItemTagType.SHORT
已过时。static final ItemTagType<String,
String> ItemTagType.STRING
已过时。static final ItemTagType<CustomItemTagContainer,
CustomItemTagContainer> ItemTagType.TAG_CONTAINER
已过时。修饰符和类型方法说明<T,
Z> Z CustomItemTagContainer.getCustomTag
(@NotNull NamespacedKey key, @NotNull ItemTagType<T, Z> type) 已过时。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) 已过时。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) 已过时。Stores a custom value on theItemMeta
.