Link to post

Share on other sites

When attempting to run the Minecraft client from the Forge development environment with either JEI or TestMod3 in the mods directory, the game crashes with a ClassNotFoundException for a class that definitely exists in the corresponding mod JAR. This doesn't happen outside of the Forge development environment (neither in my TestMod3 development environment nor when launching Minecraft from the Mojang launcher).

Recently Browsing

Posts

Uhm no I started to rename the buttonId starting by 0, 1 and so on and that fixed the problem. And I'm doing all this on client side, I just removed the Runnable thing now while opening the GUI and it works fine. Correct me if I am wrong although the program seems to run fine. When opening the GUI the first time I do Runnable a add a tick to open the GUI so to not crash but later on as I'm jumping from screen to screen it does not do that.
And can you reply a solution to this as well along with your reply to this reply, "When I open the gui i have no rendered cursor, it only shows up when i move my mouse outside of the minecraft window and move it back in. Fix for this. @diesieben07"

Again, you can only interact with Minecraft from the main thread. You said you fixed this, when in fact no, you did not fix this.
You say command, is this a server side command? In that case you cannot just open a GUI from there, that is known as reaching across logical sides. It will cause strange problems like the one you are experiencing and crash outright when run on a dedicated server.
If you want to open a GUI from a server-side command you must send a packet.

Hi there,
I'm updating an old mod that used metadata for different textures even though each 'metadata' gave the block different properties.
I'm aware of the RegistryEvent.MissingMappings<T> event but is there a way to remapIBlockStates?
Examples:
utilsBlocks:stone_block, metadata:1 -> utility_blocks:carved_stone_bricks#age=old
utilsBlocks:stone_block, metadata:2 -> utility_blocks:stone_path#normal