Slabbed 0.4.2-beta.2+1.21.1: Performance fix for NeoForge
Curse Maven Snippet
What's new
[0.4.2-beta.2] - Minecraft 1.21.1 (NeoForge)
Carries the 0.4.2 parity-candidate work for this port plus a render-path performance cleanup. Build metadata was corrected from +26.2 to +1.21.1, the actual target Minecraft version.
Performance
- Removed always-on per-block work from the chunk-mesh render path: the full-mesh-bounds diagnostic sampler no longer does a block-registry lookup, string allocations, and an atomic increment per block before checking its trace flag.
- The per-vertex bounds loop is now skipped entirely unless the trace is armed.
- Render trace flags are read once at class-load instead of per block;
render.offset.tracestays live but is gated cheap-first. - This is zero behavior change and matters most under Sodium, which routes all block geometry through this path.
Developer
/slabdyoverlay now starts off by default in release/profile launches.- It remains toggleable in-game, but the initial state is
falseunless explicitly enabled with-Dslabbed.targetDyOverlay=true.
Known limitations
- A face-culling / shadow artifact beside a lowered full-block ↔ vanilla-slab boundary is deferred to a later render/culling slice.
- Full Terrain Slabs named-surface support is not in this build; Terrain Slabs blocks are kept un-offset and otherwise behave as vanilla support.
- No all-item or all-partial-block support claim is made for this beta.
This mod has no additional files