Introduction
LDLib2 is a complete rewrite of the original LDLib, redesigned from the ground up to support modern versions of Minecraft. It provides advanced, high-level solutions across many areas of mod development, significantly reducing development complexity and long-term maintenance cost.
LDLib2 features a large, well-structured codebase that offers robust infrastructure for UI systems, shader, model rendering, data synchronization and persistence, and in-game visual editors, enabling developers to build complex systems more efficiently.
💡 Key Differences from LDLib
- Fully redesigned architecture All core systems have been rewritten to align with the internal structure of modern Minecraft versions, resulting in cleaner and more reliable code.
- Comprehensive documentation LDLib2 includes detailed documentation, comments, and example code, addressing LDLib’s long-standing issues of unclear and difficult-to-read implementations.
- Removal of legacy systems Many outdated or unused frameworks have been removed, making LDLib2 more lightweight and easier to maintain.
- Improved mod compatibility Provides more stable and stable integration for mainstream mods such as JEI, KubeJS, and EMI, etc.
Core Modules
- Data Synchronization and Persistence
- LDLib2 UI
- Shaders
- Model Rendering
- In-game Editor