You are browsing as a guest. Sign up (or log in) to start making projects!

2h 35m 56s logged

I AM FREE OF THIS HELL (for now)

it is 3h after midnight why do i do this to myself

The problems (there were a lot of them)

  • Wrong Java Versions caused the mod to blow up when starting in a real launcher
  • After correcting the Java Versions, fletching-table didnt resolve :D (it needs Java 17+, but MC needs Java 8 (1.16.5) and Java 16 (1.17.1))
  • Cloth Config was misbehaving >:(
  • JiJ (jar in jar) did NOT want to work properly (cloth config issue #1)

AAND the final boss… cloth config issue #2


Final boss (scary alert)

Problem: The dev instance of minecraft uses the mojang mappings, but cloth config uses SRG mappings. Of course, SRG mappings and mojang mappings aren’t compatible, and as soon as you opened the config menu, the game would crash (but only in dev builds!). The problem is, this issue would’ve likely stayed for EVERY forge version of the mod, meaning debugging would’ve gotten VERY ANNOYING (build, import into real minecraft instance, test there).

The Fix

Simple: just remap cloth config from SRG to mojmap when in the dev env! Simple task!

…except the remapper needs a “dictionary” jar in the same mappings as the thing it’s remapping. Cloth is SRG. The dev env only has mojmap. So there was no SRG dictionary to hand it.

How do I solve this now? SIMPLE!!! Remap Minecraft itself BACK to SRG just to use it as the dictionary, then remap cloth against that!!!!!!!!!!!! All that to fix ONE GODDAMN FIELD NAME
 
I would like to thank Claude for the technical (and moral) support in this thank you thank you thank you thank you thank you thank you

i am going to bed holy f*ck

0
13

Comments 0

No comments yet. Be the first!