Class ConsumeableEffectSpigot
java.lang.Object
valorless.rarespawns.builders.components.ConsumeableEffectSpigot
Represents a consumable effect for Spigot items in RareSpawns.
Builds a
ConsumableComponent from config, including eat speed, effects, animation, sound, and particles.
Used to apply custom food effects to items via Spigot's API.-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.meta.components.consumable.ConsumableComponentGets the underlying consumable component.
-
Method Details
-
getComponent
public org.bukkit.inventory.meta.components.consumable.ConsumableComponent getComponent()Gets the underlying consumable component.- Returns:
- The ConsumableComponent instance.
-