β‘ Leiv's Lib
Leiv's Lib is the absolute bedrock and lightweight framework powering the entire Leiv Ecosystem Suite.
Designed with performance, simplicity, and maintainability at its core, this foundational library acts as the central engine for all mods developed under the Leiv banner (such as ItemCuller, KeybindProfiles, EnderStash, and more). By modularizing our code, Leiv's Lib encapsulates shared logic, optimizes background processing, and ensures all dependent mods run smoothly with zero unnecessary overhead or code duplication.
β οΈ PLAYER NOTE: This is a required core dependency for mods within the Leiv Ecosystem. It does nothing on its own, but must be installed alongside any of my utility or quality-of-life mods to ensure they function correctly!
β¨ Key Features
- π Ecosystem Backbone: Seamlessly handles cross-mod communication and shared utility pipelines. It connects the dots so the individual mods can remain "ultra-thin" and incredibly fast.
- β‘ Zero-Overhead Philosophy: Engineered from the ground up to keep tick overhead near zero. It only runs what is absolutely necessary, maintaining buttery-smooth framerates.
- π§Ή Modular Efficiency: Eliminates redundant code execution across multiple mods. Instead of five mods running the same math calculations, Leiv's Lib handles it once and shares the results, keeping your client and server instances fast and clutter-free.
- π‘οΈ Centralized Stability: By centralizing critical logic, updates to the core library automatically improve the stability and performance of the entire mod suite simultaneously.
π οΈ Technical Highlights (For Developers & Modpack Creators)
Under the hood, Leiv's Lib provides powerful abstractions and highly optimized tools engineered specifically for high-efficiency Minecraft modding.
- π‘ LeivEventDispatcher: A highly abstracted, clean event-handling pipeline. It decouples core game events from complex mod logic while maintaining minimal invocation latency, allowing for rapid cross-platform porting.
- π¦ LeivRegistries: A streamlined registry wrapper designed for effortless, safe, and boilerplate-free in-game element registration.
- π RenderMathUtil & LeivMath: Specialized vector and spatial math utilities featuring optimized double-precision calculations. Perfect for ultra-fast 3D distance checks, bounding geometry, and frustum culling.
π Dependencies
Because Leiv's Lib is the absolute foundation of the ecosystem, it is completely self-contained.
- Required Mods: None!
- Used By: Leiv's API, Leiv's Network, Leiv's GUI, Leiv's Config, ItemCuller, and all other Leiv Ecosystem mods.
π¬ Community & Support
Got questions, feedback, or need to report a bug? Join the community!
- π₯ Discord: Join Leiv's Community
- π Issue Tracker: Report bugs via the official Discord ticket system or our GitHub Issues page.

