Consume Effects - Play Sound (Function) — SkBee

Addon: SkBee · Category: Function · Since: 3.8.0

Syntax

play_sound(sound: string)

Description

Create a 'play_sound' consume effect. Will play a sound when consumed. This can be used in a death protection/consumable component.

Examples

set {_c} to play_sound("minecraft:block.stone.break")

View source