Sound Personal Effect - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

effect: soundpersonal

Description:

Plays a Minecraft sound to specific targets. You can use the Soundboard resource to assist you in setting up this effect.

Configuration:

This spell extends options from the Sound Effect. Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.

Option Description Type Default
target Defines who the sound should be played for. Can be: position, target, or caster. position means to play it for the entity specified by the position option. String "position"
broadcast Defines if the effect should be played to everyone online. Boolean false
use-listener-as-target Since 4.0 Beta 13. Determines the recipient of variable replacement. Boolean false
use-listener-as-default Since 4.0 Beta 13. Determines the recipient of variable replacement. Boolean true
resolve-sound-per-player Since 4.0 Beta 13. Determines variable replacement for the option. Boolean false
resolve-pitch-per-player Since 4.0 Beta 13. Determines variable replacement for the option. Boolean false
resolve-volume-per-player Since 4.0 Beta 13. Determines variable replacement for the option. Boolean false
resolve-category-per-player Since 4.0 Beta 13. Determines variable replacement for the option. Boolean false