Skip to content

SoundEvent

seelderr edited this page Jan 3, 2025 · 2 revisions

Description

SoundEvents are a vanilla data structure used to group a list of sound effects into a cohesive event. To see all the vanilla SoundEvents, go here. There are also a few sound events authored for dragon survival that are used in various parts of the mod. These are listed below:

dragonsurvival:bonk
dragonsurvival:activate_beacon
dragonsurvival:deactivate_beacon
dragonsurvival:upgrade_beacon
dragonsurvival:apply_effect
dragonsurvival:fire_breath_start
dragonsurvival:fire_breath_loop
dragonsurvival:fire_breath_end
dragonsurvival:forest_breath_start
dragonsurvival:forest_breath_loop
dragonsurvival:forest_breath_end
dragonsurvival:storm_breath_start
dragonsurvival:storm_breath_loop
dragonsurvival:storm_breath_end
dragonsurvival:treasure_gem_break
dragonsurvival:treasure_gem_hit
dragonsurvival:treasure_metal_break
dragonsurvival:treasure_metal_hit

Schema

{
  "sound_id": [ResourceLocation],  // [Mandatory] || The resource location pointing to a sound file.
  "range": [number]                // [Optional]  || The fixed range of the sound. If omitted, the sound will have a variable range.
}
Datapack Documentation
Clone this wiki locally