forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 66
Sound Effect
JasperLorelai edited this page May 19, 2024
·
11 revisions
effect: sound
Plays a Minecraft sound. You can use the Soundboard resource to assist you in setting up this effect.
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default |
---|---|---|---|
sound |
Sound name. Can be a resource pack's sound name. | String | entity.llama.spit |
volume |
The volume of the sound. | Float | 1 |
pitch |
The pitch of the sound. (0-2) | Float | 1 |
category |
Define a sound category. | String | "master" |
sound:
spell-class: ".instant.DummySpell"
effects:
Sound:
position: target
effect: sound
sound: entity.zombie_villager.converted
volume: 4
pitch: 0.8