ArsNouveauPerformanceOptimization-1.21.1-1.1.0.jar
Curse Maven Snippet
What's new
Ars Nouveau Performance Optimization 1.0.0 → 1.1.0
| Optimization | Vanilla behaviour | New | Benefit |
|---|---|---|---|
| Starbuncle pickup scan | Every starbuncle ran a nearby dropped-item entity query every tick | Once every 4 ticks | Scales with the number of starbuncles; pickup delayed by at most 0.2 s |
| Starbuncle storage frame check | Every storage-target check ran an item frame entity query (the mod's own reserved frameCache was dead code — it was declared but never called) |
Cached per storage position for 2 seconds | A starbuncle bound to N storage targets went from running N item-frame entity queries every tick to N/2 per second — with N = 10 that's 200/s down to 5/s. |
| Source lookup | Every call scanned 1331 (radius 5) / 3375 (radius 7) block positions, each preceded by a redundant chunk-loaded check | Redundant check removed (getBlockEntity already performs the same bounds check) |
~40% cheaper per lookup; results and ordering are completely unchanged |
| Source registry | Each of the three read-only lookup paths made a full copy of the entire source registry | Iterates the live registry instead | Scales with the number of source devices (hundreds of them) |
This mod has no additional files