Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / SoundEvent

Type Alias: SoundEvent โ€‹

SoundEvent = ResourceId<"minecraft:sound_event">

Defined in: core/values/sound.ts:15

A sound event id, e.g. SoundEvent.AMBIENT_CAVE.

SoundEvent.AMBIENT_CAVE -> "minecraft:ambient.cave" SoundEvent("mypack:custom_hum") -> "mypack:custom_hum"

HAND-WRITTEN because no command argument uses sound_event, so the generator skips it. Landmine: if one ever does, gen:commands will generate a duplicate SoundEvent; delete this file then.

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.