接口的使用
org.bukkit.inventory.meta.components.EquippableComponent
使用EquippableComponent的程序包
-
org.bukkit.inventory.meta中EquippableComponent的使用
修饰符和类型方法说明ItemMeta.getEquippable()
Gets the equippable set on this item, or creates an empty equippable instance.修饰符和类型方法说明void
ItemMeta.setEquippable
(@Nullable EquippableComponent equippable) Sets the equippable tool.