Sable Sub-Level Collision Bounds Guard

Companion mod for Sable. Fixes the Sable sub-level collision freeze — a runaway sub-level collision region sends Lithium's collision sweeper into an endless walk and hangs the game.
Back to Files

sableboundsguard-neoforge-1.21.1-1.0.0.jar

File namesableboundsguard-1.21.1-1.0.0.jar
Uploader
VonixNetworkVonixNetwork
Uploaded
Dec 3, 2026
Downloads
8
Size
16.4 KB
Mod Loaders
NeoForge
File ID
10020235
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:sable-sub-level-collision-bounds-guard-1849748:10020235"

Learn more about Curse Maven

What's new

1.0.0 — Initial release

First public release. Companion mod for Sable — server-safe containment for the Sable sub-level collision freeze (Minecraft 1.21.1 / NeoForge). Requires the original Sable mod (2.0+) installed; not standalone and not a replacement for Sable.

The fix: a Sable sub-level's collision region can balloon to millions of blocks when its previous and current poses are far apart. Sable skips its own block walk for such regions but still returns the oversized motion, which vanilla collision expands into a swept AABB that Lithium's uncapped ChunkAwareBlockCollisionSweeper walks effectively forever — one entity, one tick, 413+ seconds.

Guards added:

  • Narrows the pose union at the sub-level collision step (keeps the current-pose half when the union is implausibly large)
  • Contains the returned motion before it reaches vanilla Entity.collide()
  • Caps the collision region as a safety net
  • Refuses an oversized Lithium sweep at the loop that froze (only when Lithium is present)

Limits: sableboundsguard.maxMotion (default 64 blocks/tick), sableboundsguard.maxSweepVolume (default 262144 blocks).

Install: mods/ folder, client and server. No config. Clients without it can still join a guarded server.

Requires: NeoForge 21.1.265+, Sable 2.0+, Java 21. Optional: Lithium 0.15+.

SHA-256: 3fb2e4e9e6d72cf4ffe0689306240b923bc1f2b8376697c9b1b3a4f27b8bbb2d

This mod has no additional files