File Details
embeddium-0.3.32-beta.76+mc1.20.1.jar
- R
- Dec 27, 2025
- 1.26 MB
- 1.8K
- 1.20.1
- Forge
File Name
embeddium-0.3.32-beta.76+mc1.20.1.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
Performance Optimizations (2025-12-27)
Occlusion Culling:
- Increased
DoubleBufferedQueueinitial capacity from 256 to 4096, eliminating repeated array resizing during chunk visibility testing - Previously caused ~3.86% render thread overhead from
ensureCapacity()calls
Render Data Access:
- Optimized
SectionRenderDataUnsafeby combining bounds checking with offset calculation into a single method - Helps HotSpot JIT produce better machine code for repeated memory accesses
Chunk Buffer Sorting:
- Added integer overflow protection for index buffer size calculations
- Converted BitSet to boolean[] for faster access in translucent quad sorting hot loops
Block Occlusion Cache:
- Streamlined voxel shape occlusion testing with identity hash code key packing
Chunk Section Cache:
- Improved thread safety with read/write lock optimization
- Added timestamp-based cleanup for better cache management

