Sound not playing when placing it in mod's .json file
For reference, I'm using a mod called "Cobblemontrainerbattle" which adds in trainer battles to the cobblemon mod. In the .json for the trainers is a
battle_theme
section.
I'm adding a line to the gym leader json that adds the ability to play a battle theme; Essentially it takes a sound you specify, and loops it; So for instance, cobblemon:battle.pvw.default
Since I have music in my resource pack for assets>cobblemon>sounds>battle>insertgamenamehere
its able to load by using cobblemon:battle.pvw.default
since the music is added into the sounds.json under that tag;
My issue is, when attempting to use the /playsound command, I'm able to call a new tag, cobblemon:battle.kanto.default
and the music plays, but when attempting to add it to the .json for the gym leader it isn't wanting to load the audio properly. I've tried it with various default cobblemon sounds, such as the healing machine, and it works just fine.
Anyone knowledgeable about resourcepacks and configs to potentially help me out?3 Replies
To answer any possible questions to follow up, yes, I've verified the filepath for the resource pack is correct and matches the path in the .json, and yes, the resource pack is correctly loaded on the server


Bump