Mekanism Generators

Mekanism Generators

97M Downloads

Mekanism.tools -- ClassCastException -- GlowArmor

Aves-Swiftflyer opened this issue ยท 5 comments

commented

Issue description

ClassCastException on multiple occasions

The game crashed whilst rendering entity in world
Error: java.lang.ClassCastException: class mekanism.tools.client.render.GlowArmor cannot be cast to class net.minecraft.client.model.HumanoidModel (mekanism.tools.client.render.GlowArmor is in module [email protected] of loader 'TRANSFORMER' @6ad198c9; net.minecraft.client.model.HumanoidModel is in module [email protected] of loader 'TRANSFORMER' 

See full crash logs from two separate days here:

There were also several occasion of "ClassCastException: Null" that can be seen in my CrashLogs repository that may be relevant.

Occurred in the instant of the "MineColonies: Dimensional Adventure" modpack and was also reported by a couple other discord members using the modpack. If a member of the discord see "crash-report" channel for logs submitted by other players.

Steps to reproduce

Entity (Skeleton/Zombie) spawning nearby with GlowArmor appears to be the cause.

Minecraft version

1.20.1 (Latest)

(Neo)Forge version

47.2.1 Forge

Mekanism version

10.4.2 (Latest)

Other relevant versions

MekanismTools-1.20.1-10.4.2.16.jar

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

https://gist.github.com/Aves-Swiftflyer/9bbecc2d96b32c41b9ddd79d4617fc3f

commented

Report to AzureLib Armor, they are entirely ignoring the fact that forge hooks means the armor isn't necessarily an instance of that: https://github.com/AzureDoom/AzureLib-Armor/blob/1.20.1/NeoForge/src/main/java/mod/azure/azurelibarmor/mixin/MixinHumanoidArmorLayer.java#L44

commented

any solve way?

commented

any solve way?

I solved it by disabling Mekanism.Tools.
I assume I'll have to keep it disabled until Azurelib and Mekanism collaborate and implement a fix.

commented

any solve way?

I solved it by disabling Mekanism.Tools. I assume I'll have to keep it disabled until Azurelib and Mekanism collaborate and implement a fix.

ooo, thank u broo

commented

any solve way?

I solved it by disabling Mekanism.Tools. I assume I'll have to keep it disabled until Azurelib and Mekanism collaborate and implement a fix.

i doesnt helped(( im just deleted it