LDLib

LDLib

LDLib is a libarary mod for custom rendering, modular gui.

2 221 086 downloads
74 followers

LDLib2

A modern Minecraft modding library for UI, rendering, synchronization, persistence, and in-game editors.

GitHub stars CurseForge downloads Modrinth downloads Latest Maven version NeoForge License

Documentation | Java Integration | UI Guide | Discord | CurseForge | Modrinth


LDLib2 is a complete rewrite of the original LDLib, redesigned around modern Minecraft and NeoForge development. It gives mod authors a higher-level foundation for building UI, in-game tools, renderer-backed content, synchronized data, and persistent runtime systems without rebuilding the same infrastructure in every project.

Feature Highlights

<iframe width="560" height="315" src="https://www.youtube.com/embed/Ic5H3YoVPjQ?si=Qu6U8hDdl9L2kTcX" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
LDLib2 UI
Build Minecraft screens with Taffy-powered layout, LSS stylesheets, reusable components, XML definitions, data bindings, RPC events, and HUD overlays.
Data synchronization and persistence overview
Data Synchronization and Persistence
Annotate fields with @Persisted, @DescSynced, and RPC helpers to generate NBT IO, codecs, dirty-field sync, and packet flow with minimal boilerplate.
Node Graph Toolkit editor
Node Graph Toolkit
Create in-game graph editors with nodes, ports, wires, variables, subgraphs, blackboards, undoable commands, and resource-backed graph assets.
LDLib2 in-game UI editor
In-game Editor Framework
Build Unity-, Blender-, or Blockbench-style tools with dockable views, project files, resource browsers, inspectors, history, settings, and custom editor panels.
Generated Configurable property editor
Configurable
Turn annotated Java objects into inspector-ready property panels, including ranges, selectors, lists, resource locations, search fields, undo history, and persistence.
LDLib2 XEI integration
Rendering and Integrations
Use LDLib2's shader, texture, model rendering, scene, and editor utilities together with common modding workflows such as JEI, REI, EMI, KubeJS, and Java plugin entry points.

For a full walkthrough, see the UI Getting Started guide.

Links

License

LDLib2 is licensed under the LGPL-3.0 license.

No gallery available for this project.