Leiv’s Lib
Leiv's Lib is the lightweight core framework required to power all mods in the Leiv Ecosystem Suite, optimizing performance and streamlining core mechanics under the hood.
介绍
⚡ 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.
常见问题
Leiv’s Lib 支持哪些 Minecraft 版本?
Leiv’s Lib 支持 Minecraft Java 版 1.20.1–26.3,共 5 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Leiv’s Lib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
leiv436 的其他作品
查看全部 →ItemCuller
Improves performance by not rendering dropped items outside the player's view. Lightweight, client-side optimization for smoother gameplay.
Leiv’s API
Leiv's API is the mandatory, highly reliable core library that manages configurations, validation, and system rules for all mods created by Leiv.
Mystic Arts & Spellbooks
A custom modpack built around Iron's Spells 'n Spellbooks and my favorite add-ons! Enhance your magical adventure with new spells, dungeons, weapons, world features and more!
Keybind Profiles
Switch between multiple keybind profiles instantly with customizable hotkeys. Easily manage different controls for PvP, building, modpacks, or any playstyle.
评论
登录后评论和评分