Sound Emitter

Emit sounds for a specific duration with an optional interval

Parameters

ParameterInformationExample

Location

The location to play the Sound Effect at.

world, 196.3, 64, -381.8

Selector

The selection of players who are able to hear the sound. The @e and @s selectors do not work!

@a[distance..5]

Sound

The sound to play, this can also be a custom sound from a resourcepack.

minecraft:entity.pig.ambient

SoundSource

The category of the sound. This can be: AMBIENT, BLOCKS, HOSTILE, MASTER, MUSIC, NUTRAL, PLAYERS, RECORDS, VOICE, WEATHER.

MASTER

Volume

The volume of the sound, needs to be greater than 0.0

2.0

Pitch

The pitch of the sound, needs to be a value between 0.0 and 2.0.

0.5

Duration

The duration of the effect.

40

Interval

Every how many ticks it should play the sound. For example if set to 5 it'll play the sound every 5 ticks.

1

Delay

The amount of ticks this effect waits after the show starts before its activation.

40

YML Preset
'1':
  Type: SOUND_EMITTER
  Location: world, 0, 0, 0
  Selector: 'null'
  Sound: minecraft:entity.pig.ambient
  SoundSource: AMBIENT
  Volume: 1.0
  Pitch: 1.0
  Duration: 40
  Interval: 1
  Delay: 0

Youtube Tutorial

Hopefully coming soon...?

Last updated