接口的使用
org.bukkit.inventory.meta.tags.ItemTagAdapterContext
-
org.bukkit.inventory.meta.tags中ItemTagAdapterContext的使用
修饰符和类型方法说明CustomItemTagContainer.getAdapterContext()
已过时。Returns the adapter context this tag container uses.修饰符和类型方法说明ItemTagType.fromPrimitive
(T primitive, @NotNull ItemTagAdapterContext context) 已过时。Creates a complex object based of the passed primitive valueItemTagType.PrimitiveTagType.fromPrimitive
(T primitive, @NotNull ItemTagAdapterContext context) ItemTagType.PrimitiveTagType.toPrimitive
(T complex, @NotNull ItemTagAdapterContext context) ItemTagType.toPrimitive
(Z complex, @NotNull ItemTagAdapterContext context) 已过时。Returns the primitive data that resembles the complex object passed to this method.