Wiki 9Minecraft Wiki 9Minecraft

Fixing Dependency Crashes by Installing GTNHLib

Diagnosing a Missing Dependency

OK Core Mod cannot function on its own; it requires another library called GTNHLib to work. If you try to launch Minecraft with OK Core Mod installed—or with a mod that depends on OK Core Mod—while either library is missing, the game will stop during startup.

You will typically see either a mod loader warning screen stating that a required dependency is missing, or a crash before reaching the title screen. The same issue happens if a child mod needs OK Core Mod and you only installed the child mod.

How to Resolve the Crash

To get your game running when an OK Core Mod dependency error appears, verify your folder setup:

1. Close Minecraft completely if the warning screen is still open.

2. Open your active instance's mods folder (located inside your main .minecraft directory or accessible through your launcher's instance settings).

3. Look through the folder to confirm that the .jar file for OK Core Mod is present.

4. Check the same folder for GTNHLib. If it is not there, add the compatible GTNHLib .jar file to your mods folder.

5. If you are hosting or joining a multiplayer server, make sure both OK Core Mod and GTNHLib are installed in the server's mods folder as well.

6. Relaunch the game and check your Mods list on the title screen to verify both libraries are loaded.

Join 9Minecraft News & Guides