
SLib
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.
Список изменений
-
Initial public release of the library.
-
Bootstrap, security, networking, UI, node engine, render and config foundations.
-
Per-mod packet allocator with linear probe collision resolution and
id -> modIdregistry. -
SafeHandler wrapper for direction + sender validation, main-thread
enqueueWorkand Throwable isolation. -
PacketDistributor.ALL.noArg()broadcast for efficient fan-out to all connected players. -
Player-state cleanup on
PlayerLoggedOutEventfor every registeredPacketGuard. -
Hardened JSON depth scan with state machine that ignores brackets inside strings and detects malformed payloads.
-
Hardened NBT sanitize with parent-level depth guard, zero-allocation reject path and iterative exact-depth report.
-
API isolation enforced by the
checkApiIsolationGradle task.
