Closed Krutoy242 closed 5 months ago
I made a test - i set Sledge Hammer config for everything =false
except this config:
# BiblioCraft
bibliocraft {
# If 'true', fixes AbstractMethodError caused by missing getStackInSlot method
abstract-stack-in-slot=true
}
This resulted in crash:
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from BiblioCraft (bibliocraft)
Caused by: java.lang.NoClassDefFoundError: jds/bibliocraft/tileentities/TileEntityFramedChest
at jds.bibliocraft.BiblioCraft.preInitClient(BiblioCraft.java:192)
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
Caused by: java.lang.ClassNotFoundException: jds.bibliocraft.tileentities.TileEntityFramedChest
Caused by: java.lang.NoClassDefFoundError: jds/bibliocraft/tileentities/BiblioTileEntity
Caused by: java.lang.ClassNotFoundException: jds.bibliocraft.tileentities.BiblioTileEntity
This resulted in crash:
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from BiblioCraft (bibliocraft) Caused by: java.lang.NoClassDefFoundError: jds/bibliocraft/tileentities/TileEntityFramedChest at jds.bibliocraft.BiblioCraft.preInitClient(BiblioCraft.java:192) at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) Caused by: java.lang.ClassNotFoundException: jds.bibliocraft.tileentities.TileEntityFramedChest Caused by: java.lang.NoClassDefFoundError: jds/bibliocraft/tileentities/BiblioTileEntity Caused by: java.lang.ClassNotFoundException: jds.bibliocraft.tileentities.BiblioTileEntity
I think the part displayed here might not be complete enough - jds/bibliocraft/tileentities/TileEntityFramedChest
is abosolutely defined, as there's source code for it.
According to my experience, when such error happened, you can scroll back a bit in latest.log
, and it's very likely to locate a line saying some-mod failing to modify some-class
(I dont remember what exactly its format is).
And here, that some-class
should be exactly jds/bibliocraft/tileentities/TileEntityFramedChest
,or jds.bibliocraft.tileentities.TileEntityFramedChest
, while some-mod
should be Sledge Hammer
Should have fixed in exp fugue
I don't want to deal with this hackery mod for now...
A workaround for exp branch is to change mixin jsons in sledgehammer jar's target
from @env(DEFAULT)
to @env(MOD)
Sledgehammer now officially support cleanroom
crash-2024-02-11_12.02.38-client.txt