Skip to content

Custom Sounds

necro50n3 edited this page Jun 21, 2026 · 1 revision

Raid Battle Music and Sounds

Definitions

Raid battles play music from the cobblemonraiddens:battle.raid.tier_x sound event, where x is the tier of the raid. By default, every tier contains the cobblemonraiddens:battle.raid.default sound event, which contains the cobblemon:battle.pvw.default sound event. The first two can be found in assets/cobblemonraiddens/sounds.json within the mod jar, and the latter can be found in Cobblemon's mod jar.

Adding New Music

New raid music can be added with a simple resource pack, by adding the music in a .ogg file and adding it to the sound event(s) in sounds.json. Alternatively, adding the music to the default Cobblemon wild battle music (cobblemon:battle.pvw.default) also adds it to raid battles (with the exception of below).

Raid-Exclusive Music

If you would like raids to have exclusive music only that is not played in normal wild battles, you will need to add "replace": true to the sound event in sounds.json.

Example
{
    "battle.raid.default": {
        "replace": true,
        "sounds": [ ... ]
    }
}

Changing Music Mid-Battle

The battle music can also be changed mid-battle through the play_sound script. Refer to Scripting.

Custom Sound Effects

The same play_sound script can be used to play sound events without replacing the existing battle music by setting is_music to false.

Clone this wiki locally