LootGlow v1.5.0 - The Atomic Engine / Zero-Latency Supreme
INTRODUCING: The Grid-Matrix Spatial Partitioning Engine: A massive ground-up refactoring of global item computational geometry.
Chunk-Bound Clusters: Total replacement of Global `O(N^2)` iterations with localized `O(Chunk^2)` spatial bucket indices. Comparison operations collapsed by up to 1,000x!
Instant Lone-Item Short-Circuiting: Single items sitting in a chunk now entirely skip all logic gates, consuming mathematically ZERO computational cycle time.
️ ATOMIC VECTORIZATION & ZERO-ALLOCATION: ruthlessly eradicated memory churn from background polling and event listeners!
Vectorized Player Analytics: Player proximity scanning is now mapped into stack-allocated final primitive double arrays. Zero dynamic `Location` objects generated across global loops!
The Chunk Stream Eraser: Applied absolute vector primitive lookups inside the `ChunkLoadEvent` pipeline, destroying thousands of potential GC allocation spikes while players explore via Elytra.
Pure Iterator Pipeline: Swapped auxiliary HashSet cloned sweeps in the Farming Engine for allocation-free removal pointers. RAM footprint stays perfectly static.
⚡ CRITICAL: Shadow Casting & Text Rendering Bypass:
Bypassing Adventure API: Razed the previous shadow projection system (TextDisplay) and replaced it with microscopic, untextured BlockDisplay anchors. Effectively nullifies heavy internal font-width and component serialization checks within the Paper server kernel.
Precision Throttle Scheduling: Upgraded visual update periodicity to 60 Ticks. Halved downstream GSON serialization costs while preserving absolute animation fluidity.
STABILITY & GLOBAL CACHE REMEDIATION:
Total Object Disposal: Fortified the centralized `removeGlow()` logic with atomic map cleans (`surfaceStates`, `entityIdMap`, `labels`). Guarantees 100% holistic purge of references on item removal.
Event-Stream Interception: Injected tracking gates inside `ItemListener.onMerge` to hard-bypass redundant logic loops when targeting already-registered entities.