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