Uses of Interface
org.bukkit.inventory.meta.components.FoodComponent
Package
Description
The interfaces used when manipulating extra data can can be stored inside
item stacks
.-
Uses of FoodComponent in org.bukkit.inventory.meta
Modifier and TypeMethodDescriptionItemMeta.getFood()
Gets the food set on this item, or creates an empty food instance.Modifier and TypeMethodDescriptionvoid
ItemMeta.setFood
(@Nullable FoodComponent food) Sets the item food.