Bookshelf

Bookshelf

305M Downloads

[CRASH] testing mod but crashed by bookshelf

MC57348 opened this issue · 3 comments

commented

Minecraft Version

1.20.1

Mod Version

20.2.13

Mod Loader

Forge

What environment are you running the mod in?

Client

Issue Description

im testing the latest mod pouchofunknown in 1.20.1 which i write, after a long time compiled i fix all the bug in all the class of this mod. then i try to use gradle command runclient to test this mod but failed to run that client. then i send this log to GPT and it said the main issue lies in the mixin configuration of the Bookshelf module. This is the first time i write the mod alone so idk what happened.

Crash Log

output.log

Are you doing anything weird?

IDK what happen

commented

https://github.com/MC57348/Pouchofunknown-1.20.1
here is the repository of this mod

commented

Hello, you're running into this issue because Bookshelf's compiled code uses Mojang's obfuscated mappings, while your development environment uses developer mappings. This mismatch is pretty common with mods that use Mixin like Bookshelf. To fix this, you need to enable reference map remapping in your build.gradle script. Here is an example of how I do this in one of my mods. This is an older example though, so I would recommend reading the Forge documentation to see if there is a better way.

commented

Thanks! it‘s working,the mod not working in the game but i think the issue not about this mod