Class ConsumeableEffectSpigot

java.lang.Object
valorless.rarespawns.builders.components.ConsumeableEffectSpigot

public class ConsumeableEffectSpigot extends Object
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 Details

    • getComponent

      public org.bukkit.inventory.meta.components.consumable.ConsumableComponent getComponent()
      Gets the underlying consumable component.
      Returns:
      The ConsumableComponent instance.