Index
All Classes and Interfaces|All Packages
A
- AdaptiveItemTagBridge - Class in me.kzheart.klib.item
-
Java 泛型平台返回契约;存储与迁移逻辑由 Kotlin 实现。 旧 Kotlin 调用 val value: String = bridge.get(item, key) 依赖平台泛型;缺失标签仍返回 null。
- AdaptiveItemTagBridge(PdcItemTagBridge, LegacyNbtItemTagBridge) - Constructor for class me.kzheart.klib.item.AdaptiveItemTagBridge
- amount(int) - Method in class me.kzheart.klib.item.ItemBuilder
- appendLore(String...) - Method in class me.kzheart.klib.item.ItemBuilder
B
- bool(String) - Static method in class me.kzheart.klib.item.TagKey
- build() - Method in class me.kzheart.klib.item.ItemBuilder
- bytes(String) - Static method in class me.kzheart.klib.item.TagKey
C
- create(String) - Method in interface me.kzheart.klib.item.ExternalItemSource
-
按 ID 生成新物品;ID 不存在时返回
null。 - create(String, String) - Method in interface me.kzheart.klib.item.ExternalItemProvider
- create(String, Player) - Method in interface me.kzheart.klib.item.ExternalItemSource
-
在实际使用者上下文生成一件物品;不需要上下文的提供者沿用基础生成。
- createStack(String, int, Player) - Method in interface me.kzheart.klib.item.ExternalItemSource
-
生成一个堆叠。唯一实例提供者可以拒绝大于一的数量,调用方改用逐件批量生成。
- customModelData(Integer) - Method in class me.kzheart.klib.item.ItemBuilder
- customModelData(ItemStack) - Static method in class me.kzheart.klib.item.Items
-
未设置或服务端不支持时返回
null。
D
- doubleValue(String) - Static method in class me.kzheart.klib.item.TagKey
E
- edit(ItemStack) - Static method in class me.kzheart.klib.item.Items
- enchant(Enchantment, int) - Method in class me.kzheart.klib.item.ItemBuilder
- equals(Object) - Method in class me.kzheart.klib.item.TagKey
- ExternalItemProvider - Interface in me.kzheart.klib.item
-
MMOItems、NeigeItems、ItemsAdder 或其他物品提供器的适配器。
- ExternalItemSource - Interface in me.kzheart.klib.item
-
单个外部物品系统的适配器,例如 MMOItems 或 NeigeItems。
F
- find(ItemStack) - Method in class me.kzheart.klib.item.TagKey
- flags(ItemFlag...) - Method in class me.kzheart.klib.item.ItemBuilder
G
- get(ItemStack) - Method in class me.kzheart.klib.item.TagKey
- get(ItemStack, TagKey<T>) - Method in class me.kzheart.klib.item.AdaptiveItemTagBridge
- get(ItemStack, TagKey<T>) - Method in interface me.kzheart.klib.item.ItemTagBridge
- get(ItemStack, TagKey<T>) - Method in class me.kzheart.klib.item.LegacyNbtItemTagBridge
- get(ItemStack, TagKey<T>) - Method in class me.kzheart.klib.item.PdcItemTagBridge
- getOrDefault(ItemStack, T) - Method in class me.kzheart.klib.item.TagKey
- glow(boolean) - Method in class me.kzheart.klib.item.ItemBuilder
H
- has(ItemStack) - Method in class me.kzheart.klib.item.TagKey
- has(ItemStack, TagKey<?>) - Method in class me.kzheart.klib.item.AdaptiveItemTagBridge
- has(ItemStack, TagKey<?>) - Method in interface me.kzheart.klib.item.ItemTagBridge
- has(ItemStack, TagKey<?>) - Method in class me.kzheart.klib.item.LegacyNbtItemTagBridge
- has(ItemStack, TagKey<?>) - Method in class me.kzheart.klib.item.PdcItemTagBridge
- hashCode() - Method in class me.kzheart.klib.item.TagKey
I
- identify(ItemStack) - Method in interface me.kzheart.klib.item.ExternalItemSource
-
返回物品在本系统中的 ID;不属于本系统时返回
null。 - integer(String) - Static method in class me.kzheart.klib.item.TagKey
- isServerSupported() - Static method in class me.kzheart.klib.item.PdcItemTagBridge
- ItemBuilder - Class in me.kzheart.klib.item
-
流式编辑器的 Java 平台返回契约;物品状态和编辑行为由 Kotlin 实现。 旧 Kotlin 调用 val value: String = builder.tag(key) 依赖平台泛型;缺失标签仍返回 null。
- Items - Class in me.kzheart.klib.item
-
创建和编辑物品的入口;Java 声明保留可空平台返回类型。
- ItemTagBridge - Interface in me.kzheart.klib.item
-
TagKey使用的可插拔存储边界。
L
- LegacyNbtItemTagBridge - Class in me.kzheart.klib.item
-
Java 泛型平台返回契约;存储与迁移逻辑由 Kotlin 实现。 旧 Kotlin 调用 val value: String = bridge.get(item, key) 依赖平台泛型;缺失标签仍返回 null。
- LegacyNbtItemTagBridge() - Constructor for class me.kzheart.klib.item.LegacyNbtItemTagBridge
- longValue(String) - Static method in class me.kzheart.klib.item.TagKey
- lore(String...) - Method in class me.kzheart.klib.item.ItemBuilder
- lore(List<String>) - Method in class me.kzheart.klib.item.ItemBuilder
M
- matches(String, String, ItemStack) - Method in interface me.kzheart.klib.item.ExternalItemProvider
- me.kzheart.klib.item - package me.kzheart.klib.item
-
Java 8 物品构建、类型化标签、传输与背包工具。
N
- name(String) - Method in class me.kzheart.klib.item.ItemBuilder
O
- of(String) - Static method in class me.kzheart.klib.item.Items
- of(Material) - Static method in class me.kzheart.klib.item.Items
P
- PdcItemTagBridge - Class in me.kzheart.klib.item
-
Java 泛型平台返回契约;存储与迁移逻辑由 Kotlin 实现。 旧 Kotlin 调用 val value: String = bridge.get(item, key) 依赖平台泛型;缺失标签仍返回 null。
- PdcItemTagBridge() - Constructor for class me.kzheart.klib.item.PdcItemTagBridge
- playerHead() - Static method in class me.kzheart.klib.item.Items
- plugin() - Method in interface me.kzheart.klib.item.ExternalItemSource
-
用于诊断输出的插件名称。
- prefix() - Method in interface me.kzheart.klib.item.ExternalItemSource
-
物品引用前缀,只能包含小写字母、数字、下划线和短横线。
- preview(String, Player) - Method in interface me.kzheart.klib.item.ExternalItemSource
-
无交付副作用的展示样本。默认明确不支持,绝不回退到 create。 适配器负责区分未就绪、未知 ID 和构建失败;不得为预览分配业务唯一实例。
R
- remove(ItemStack) - Method in class me.kzheart.klib.item.TagKey
- remove(ItemStack, TagKey<?>) - Method in class me.kzheart.klib.item.AdaptiveItemTagBridge
- remove(ItemStack, TagKey<?>) - Method in interface me.kzheart.klib.item.ItemTagBridge
- remove(ItemStack, TagKey<?>) - Method in class me.kzheart.klib.item.LegacyNbtItemTagBridge
- remove(ItemStack, TagKey<?>) - Method in class me.kzheart.klib.item.PdcItemTagBridge
- removeTag(TagKey<?>) - Method in class me.kzheart.klib.item.ItemBuilder
- resolveMaterial(String) - Static method in class me.kzheart.klib.item.Items
S
- set(ItemStack, TagKey<T>, T) - Method in class me.kzheart.klib.item.AdaptiveItemTagBridge
- set(ItemStack, TagKey<T>, T) - Method in interface me.kzheart.klib.item.ItemTagBridge
- set(ItemStack, TagKey<T>, T) - Method in class me.kzheart.klib.item.LegacyNbtItemTagBridge
- set(ItemStack, TagKey<T>, T) - Method in class me.kzheart.klib.item.PdcItemTagBridge
- set(ItemStack, T) - Method in class me.kzheart.klib.item.TagKey
- skullOwner(UUID) - Method in class me.kzheart.klib.item.ItemBuilder
- skullOwner(OfflinePlayer) - Method in class me.kzheart.klib.item.ItemBuilder
- string(String) - Static method in class me.kzheart.klib.item.TagKey
- supports() - Method in class me.kzheart.klib.item.LegacyNbtItemTagBridge
- supports(ItemStack) - Method in class me.kzheart.klib.item.PdcItemTagBridge
- supportsCustomModelData() - Static method in class me.kzheart.klib.item.Items
T
- tag(TagKey<T>) - Method in class me.kzheart.klib.item.ItemBuilder
- tag(TagKey<T>, T) - Method in class me.kzheart.klib.item.ItemBuilder
- TagKey<T> - Class in me.kzheart.klib.item
-
对调用方隐藏存储细节的类型化物品标签,保留 Java 泛型平台返回类型。
- toString() - Method in class me.kzheart.klib.item.TagKey
- type() - Method in class me.kzheart.klib.item.TagKey
U
- unbreakable(boolean) - Method in class me.kzheart.klib.item.ItemBuilder
- using(ItemTagBridge) - Method in class me.kzheart.klib.item.TagKey
V
A B C D E F G H I L M N O P R S T U VAll Classes and Interfaces|All Packages