SLib
No reviews yet
Slib is a closed-source infrastructure library for Forge 1.20.1 mods. It unifies advanced networking mechanics and security guards, ensuring total stability for all dependent mods without the need for constant maintenance updates.
Provides a framework or library for other mods to use.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Must be installed on both the client and the server.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
Slib is published on Modrinth as a required dependency. It contains no gameplay on its own — it is the infrastructure engine under the hood of the author's other mods. Its primary purpose is to completely eliminate performance lag, optimize network performance, and maintain all connected mods under a single, highly efficient runtime simultaneously.
This mod is a closed-source library. It is not intended for use by other mod developers. Source code is not provided. The public Java API exists so the author's own mods can share one consistent engine, not so that third-party mods can build on top of it. There is no support channel, no documentation site, no commitment to API stability for outside consumers, and no open repository.
End users: install Slib because one of the author's mods requires it. You will never interact with Slib on its own.
Mod authors: do not depend on any packages within this library. The package layout, class names, packet ids, network protocol, and configuration keys can change at any minor version without notice. Key features
Performance & Sync Optimization: Designed specifically to prevent server-side lag, freeze-frames, and overhead by forcing all of the author's connected mods to share unified, streamlined internal systems simultaneously.
Networking wrappers: built-in per-mod allocator, rate-limiting, game-time cooldown guards, distance checks, sender/direction validation, and a single broadcast pipeline that serializes once for all players.
Snapshot guards: strict NBT and JSON size limits, structural depth limits, NaN / Inf value rejection, malformed payload detection, and zero-allocation sanitization for malicious packets.
Strict API isolation: fully enforced by a custom Gradle task at every single build to prevent external leaks.
Number sanitizers: internal helpers for finite, positive, clamped, and angle-normalised values.
Configuration
Slib does not expose a configuration screen. It is a library, not a user-facing mod. All configuration is immutable, compiled directly into the jar, and exposed internally as constants.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources