Patchouli

Patchouli

168M Downloads

Cannot open a world in 1.16.2: Mixin apply failed assets/patchouli/patchouli.mixins.json:client.MixinClientAdvancementManager

Closed this issue ยท 2 comments

commented

I have zero book data at all right now, i just installed it into my dev environment (eclipse)

mc_version=1.16.2
forge_version=33.0.22
mappings_version=20200820-1.16.1

I have everything set up in my IDE with

compileOnly fg.deobf("vazkii.patchouli:Patchouli:1.16-42:api")
runtimeOnly fg.deobf("vazkii.patchouli:Patchouli:1.16-42")

The game loads just fine to the menu screen.

When I load a world, i get this error.
https://pastebin.com/kn3C3iMn

Main error in the log is this. I assume its something to do with 1.16.2 ? or with the new mappings? I am not sure

@Inject annotation on patchouli_onSync could not find any targets matching 'Lnet/minecraft/client/multiplayer/ClientAdvancementManager;func_192799_a(Lnet/minecraft/network/play/server/SAdvancementInfoPacket;)V' in net.minecraft.client.multiplayer.ClientAdvancementManager. Using refmap patchouli.refmap.json

commented

Thanks! Fixed it with that link. :)

In case anyone else happens to look at this in the future, and since the link doesnt mention this method, you can (instead of editing system variables directly in operating system) Go to your build.gradle file, inside of each run, copy this line

property 'mixin.env.disableRefMap', 'true'

So inside of each run { client { and the server, at the same level as the workingDirectory .