GTNH Lib is a shared functionality library required by other GT New Horizons mods, including Hodgepodge and GregTech 5U-NH. It provides annotation-driven configuration that can set defaults, ranges, comments, and language keys, validate configuration files, sync selected settings from server to clients, and generate a Forge configuration GUI. Its event utilities include notifications for inventory item additions and removals and for block middle-clicks, along with automatic event-subscriber registration. For item and inventory handling, it offers immutable item stacks, filtered and count-limited transfers between inventories, and iteration over regular or sided inventory slots. Rendering helpers support items with layered textures, captured render geometry for batched or asynchronous rendering, animated tooltips, and messages above the hotbar. The library also supplies custom block-state properties stored in metadata, a command to inspect those states, a Brigadier command API, and tools for registering game rules. Additional systems cover team roles and membership, persistent team data synced to clients, and network utilities for sending titles, hotbar messages, view distance, and custom player data. Its general-purpose helpers include hashing, math and data-format utilities, color types, 3D geometry operations, capability-provider support, synced keybinds, bytecode tools, and compatibility checks for Baubles, FalseTweaks, and NEI.
Written from Modrinth , CurseForge and the GitHub README . How we write it
The newest release or beta for each Minecraft version and loader, on Modrinth and CurseForge.
Have a copy of GTNH Lib? Check that it is the official one.
Drop it here. We compare its fingerprint with the official GTNH Lib files. If we do not know the file, we upload it for a deep check.
Who makes GTNH Lib, with their most downloaded other projects.
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Not known yet
We have not checked its code in depth yet.
We find the web addresses its code can contact, but we cannot see everything a mod does while it runs. Wrong result? Tell us
A mod can send information about you over the internet, such as your player name or your login.
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
Something wrong here? Report a mistake
It has no file for a recent Minecraft version, so this shows its files for Minecraft 1.7.10.
As a library that other mods build on, it changes the game's code in 11 areas.
Also
Something wrong here? Report a mistake