Interface ConsumeEffect.PlaySound

All Superinterfaces:
ConsumeEffect
Enclosing interface:
ConsumeEffect

@NonExtendable public static interface ConsumeEffect.PlaySound extends ConsumeEffect
Represents a consumable effect that plays a sound on consumption.
Since:
1.21.3
  • Method Details

    • sound

      net.kyori.adventure.key.Key sound()
      Sound effect to play in the world.
      Returns:
      sound effect
      Since:
      1.21.3