Uses of Enum Class
org.bukkit.inventory.meta.components.consumable.ConsumableComponent.Animation
Packages that use ConsumableComponent.Animation
Package
Description
All classes related to the Consumable Component.
-
Uses of ConsumableComponent.Animation in org.bukkit.inventory.meta.components.consumable
Methods in org.bukkit.inventory.meta.components.consumable that return ConsumableComponent.AnimationModifier and TypeMethodDescriptionConsumableComponent.getAnimation()
Gets the animation used during consumption of the item.Returns the enum constant of this class with the specified name.static ConsumableComponent.Animation[]
ConsumableComponent.Animation.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.bukkit.inventory.meta.components.consumable with parameters of type ConsumableComponent.AnimationModifier and TypeMethodDescriptionvoid
ConsumableComponent.setAnimation
(ConsumableComponent.Animation animation) Sets the animation used during consumption of the item.