Using QM as main mapping and Mojmap as fallback fails to load world on first time run #396
Labels
bug
something isn't working correctly
critical
a critical PR; bypasses final comment period
discussion
changes that need discussion before being implemented
help wanted
extra attention is needed
t: toolchain
changes to the quilt mappings toolchain
While using a buildscript of Quilt Mappings as main and Mojmap as backup, when starting the game for the very first time, Loader fails to appply the transform to make package-private things public.
The mappings configuration i used was this:
QM first, mojmap fallback.
If you try to open the game and load a world, with no
run/
directory the game with crash with an illegal state exception:java.lang.IllegalAccessError: failed to access class com.mojang.math.OctahedralGroup$1 from class net.minecraft.util.math.DirectionTransformation (com.mojang.math.OctahedralGroup$1 and net.minecraft.util.math.DirectionTransformation are in unnamed module of loader net.fabricmc.loader.launch.knot.KnotClassLoader @20b12f8a)
Now
DirectionTransformation
isOctahedralGroup
in Quilt Mappings, but loader hasn't worked that out.If you then close the game, and remove the mojmap fall back, it'll be more than happy to load the world, you can even put mojmap first of use mojmap on it's own and it'll be perfectly happy with it.
Now that you have loaded a world, if you're to add the mojmap fallback back, it will load worlds happily again.
The text was updated successfully, but these errors were encountered: