Interface ConsumeEffect.PlaySound

All Superinterfaces:
ConsumeEffect
Enclosing interface:
ConsumeEffect

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

    • sound

      Key sound()
      Sound effect to play in the world
      Returns:
      sound effect