Uses of Interface
org.bukkit.inventory.meta.components.FoodComponent.FoodEffect
Package
Description
Isolated components which may form part of item meta.
-
Uses of FoodComponent.FoodEffect in org.bukkit.inventory.meta.components
Modifier and TypeMethodDescriptionFoodComponent.addEffect
(PotionEffect effect, float probability) Adds an effect which may be applied by this item when eaten.Modifier and TypeMethodDescriptionFoodComponent.getEffects()
Gets the effects which may be applied by this item when eaten.Modifier and TypeMethodDescriptionvoid
FoodComponent.setEffects
(List<FoodComponent.FoodEffect> effects) Sets the effects which may be applied by this item when eaten.