Open vertexcubed opened 1 month ago
You're running into a technical limitation of Patched here. The sounds.json
file is one of a handful of files that Minecraft merges between all packs (like languages and tags), and Patched can't currently patch those. This is because since Minecraft looks at each pack's copy of the file individually (foregoing the resource manager), it'd be difficult for Patched to figure out which copy should be patched (while also maintaining pack ordering et al.)
However, I believe in this case you can achieve the same goal without needing Patched. Since the sounds.json
s are merged, you should be able to redefine entity.player.attack.crit
and entity.player.attack.strong
by copying their definitions to your resource pack's sounds.json
(and replacing the sound paths, of course). Alternatively, if the original sounds are only used for these and the volume doesn't need to be changed, you could just replace the sound files themselves.
Trying to write a simple resourcepack to patch vanilla's sounds.json to change some stuff, but patched isn't even detecting my pack? The resource pack is loaded in the vanilla resourcepacks folder if that helps
My pack.mcmeta:
My patch file,
assets/minecraft/sounds.json.patch
: