MaLiLib

MaLiLib

12M Downloads

Game crash in 1.21.4 from `getSpeedAndJumpStrengthFromNbt()`

tquin opened this issue ยท 4 comments

commented

Hello, I got this crash message:

java.lang.NoSuchMethodError: 'com.llamalad7.mixinextras.lib.apache.commons.tuple.Pair fi.dy.masa.malilib.util.nbt.NbtEntityUtils.getSpeedAndJumpStrengthFromNbt(net.minecraft.class_2487)'
	at knot//fi.dy.masa.minihud.event.RenderHandler.addLine(RenderHandler.java:970)
	at knot//fi.dy.masa.minihud.event.RenderHandler.updateLines(RenderHandler.java:325)
	at knot//fi.dy.masa.minihud.event.RenderHandler.onRenderGameOverlayPostAdvanced(RenderHandler.java:171)
	at knot//fi.dy.masa.malilib.event.RenderEventHandler.onRenderGameOverlayPost(RenderEventHandler.java:108)
	at knot//net.minecraft.class_329.handler$bol000$malilib$onGameOverlayPost(class_329.java:5053)
	at knot//net.minecraft.class_329.method_1753(class_329.java:235)
	at knot//net.minecraft.class_757.method_3192(class_757.java:533)
	at knot//net.minecraft.class_310.method_1523(class_310.java:1341)
	at knot//net.minecraft.class_310.method_1514(class_310.java:922)
	at knot//net.minecraft.client.main.Main.main(Main.java:267)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

From the dump I can't tell if the problem is in malilib or in minihud, so apologies if this issue's in the wrong repo. I'm using malilib 0.23.1 from Modrinth and sakura's minihud 0.34.0-sakura.4 and litematica 0.21.0-sakura.9 forks, among other mods.

The game was running fine for a while before this occured. Attempting to re-join the same server almost immediately causes the same crash consistently.

I suspect this has something to do with reading data from entities, because the wandering trader and llamas spawned in right before the first crash. Loading the world in a vanilla install and killing those entities fixed the issue and allowed the world to load again in the modded install.

Thanks!

commented

Update MiniHUD and Litematica in this scenario.

commented

Update all the "masa mods" to the latest versions. Specifically MiniHUD 0.34.3 from Modrinth should fix this crash.

commented

Ah sorry this is actually via malilib, I didn't see/read the first line, so it probably needs an update of both mods. But anyway, update all the mods from Modrinth.

commented

Thank you both, I've grabbed the latest Modrinth versions and I'll see if the issue crops up again. Cheers!