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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.papermc.paper.datacomponent.item.consumable.ConsumeEffect
ConsumeEffect.ApplyStatusEffects, ConsumeEffect.ClearAllStatusEffects, ConsumeEffect.PlaySound, ConsumeEffect.RemoveStatusEffects, ConsumeEffect.TeleportRandomly
-
Method Summary
-
Method Details
-
sound
Key sound()Sound effect to play in the world- Returns:
- sound effect
-