Shaolib
If you have ever installed a big tech or magic mod and watched your tick rate collapse under a pile of world queries, you already understand why Shaolib exists. Shaolib (often referred to as Shaolib Core) is a NeoForge library mod built for one purpose: giving other mods the infrastructure they need to run heavy simulations without dragging your game to a crawl. It is not a content mod in the traditional sense, but it quietly powers the performance-sensitive systems behind many advanced add-ons.
What Shaolib Actually Does
At its core, Shaolib is a dependency. You will rarely see it in your inventory or your crafting menu, and that is by design. Instead, it provides two major systems that other mods hook into: a high-performance chunk cache and a flexible projectile runtime. Both are aimed at mods that need to sample the world or move objects through it many times per tick.
High-Performance Chunk Cache
The chunk cache is the headline feature. Shaolib maintains compact, query-friendly snapshots of chunk data so add-on mods can sample blocks, heights, and cached world state without repeatedly walking live world data. That matters more than it sounds. Every direct block lookup in Minecraft carries a cost, and when a mod performs thousands of them per tick, those costs add up fast.
What makes the cache system genuinely useful is its honesty about data freshness. The cache APIs expose freshness and source information, letting callers distinguish between four states: live-world reads, memory-cache hits, stale cached results, and unavailable data. A mod can therefore decide whether a slightly outdated answer is acceptable or whether it needs a guaranteed live read. This is exactly the kind of nuance that raycasts, collision checks, terrain-aware simulation, guidance logic, and server-side prediction systems depend on.
Projectile Framework
The second pillar is a lightweight projectile runtime. Normally, every projectile in Minecraft has to be a full entity, which is expensive when you want hundreds of fast-moving munitions on screen. Shaolib flips that model around. It provides lightweight projectile instances with typed state, motion models, synchronized data, server-side contexts, sweep and collision helpers, and chunk-loading policy hooks.
Addon mods build their own gameplay logic on top of this shared runtime. Spawning, ticking, sweeping through the world, syncing state to clients, and resolving block or body hits all use the same infrastructure, while each projectile keeps its own behavior. The result is high-speed munitions and physics interactions that feel responsive instead of laggy.
Supported Versions and Loader
Shaolib is a NeoForge library mod, so you will need a NeoForge installation to use it. It is designed for modern Minecraft versions in the 1.20.x and 1.21.x range, and you should always match the Shaolib build to the exact Minecraft version your other mods target. Because it is a library, version mismatches are the most common source of crashes, so check the requirements of any mod that lists it as a dependency before you start installing things.
If you would rather skip the manual file juggling, the foxygame.net launcher handles Shaolib for Minecraft as a one-click install from its add-on catalog, pulling the correct build for your selected game version automatically.
How to Install Shaolib
Installing a library mod is straightforward, but order and version matching matter. Here is the process:
- Install NeoForge for the Minecraft version you plan to play.
- Download Shaolib from a trusted source, making sure the file matches your game version.
- Place the Shaolib
.jarfile into yourmodsfolder alongside the mods that depend on it. - Launch the game once to confirm the mod loads without errors.
- Add any addon mods that require Shaolib, then test again.
If the game crashes on startup after adding a dependent mod, the usual culprit is a version mismatch between Shaolib and that mod. Check the dependent mod's page for the exact Shaolib build it expects.
Who Should Download Shaolib
Shaolib is primarily aimed at mod developers and players who use mods built on top of it. On its own, it focuses on infrastructure rather than player-facing content, so downloading it by itself will not add new items or mobs. What it will do is make cache-backed terrain queries, custom raycasts, physics-body interactions, and high-speed projectile systems possible in your modpack.
If a mod you want lists Shaolib as a requirement, install it. If you are a developer building simulation-heavy features, it saves you from reinventing a chunk cache and a projectile runtime from scratch. Either way, Shaolib for Minecraft is the kind of quiet dependency that makes ambitious mods feel smooth rather than sluggish, and that is exactly what a good library should do.