Patched isn't working in 1.19.2
Cristelknight999 opened this issue ยท 6 comments
pack.zip
I tried to use patched to modify biomes. i could only get this pack to work in 1.20.1, but not in 1.19.2.
The reason you only got modifying biomes working in 1.20.1 is because in 1.19.3 Mojang converted all the biomes to json files. In 1.19.2 they were still hard-coded (which is why you can't patch them.)
The only way you can patch biomes in 1.19.2 is if some other data pack or mod defines every vanilla biome in json (using say, the worldgen export). However, this would likely break any mod that does the fancy modifying-code-biomes-using-loader-provided-utilities thing (i.e., Forge biome modifiers or the Fabric biome modification API).
Oh i read that. I got confused that it didn't show any packs when using the command I thought it would still display the packs which have the flag on in the pack.mcmeta file. I tested so long that I forgot that biome thing. How could I be so stupid xD
Likely you're running into some more 1.19.2 era bugs.
In particular, 1.19.2 Patched doesn't correctly handle Fabric's every-mod-in-one resource/data pack class (GroupResourcePack
). This is because Patched asks it for the pack.mcmeta
file and since it's a collection of many packs, it (correctly) doesn't give Patched one (because there could be many of them). Patched does correctly handle Forge's multi-pack class (DelegatingPackResources
), but I only recently fixed the Fabric side of things (in 1.19.3).
If I remember correctly, the other major bug on 1.19.2 is that due to some funny Mojang code .zip
resource/data packs don't allow listing files in all namespaces (something Patched tries to do). This only affects /patched list patches [...]
(and it's been fixed in the most recent 1.20 build), so it's more of a cosmetic problem.
My guess (based on your original message) is that you're running into the first issue I've listed (Fabric mods not being handled correctly).
maybe also the one with the display thing. i tried it also with normal datapacks and it only showed me 2 times, that it has patches activated.and then it showed, that the pack has 0 patches