Files
cobblemon/common
Plastered_Crab cd04afe18d -Optimized Type Gem core/cluster performance without changing worldgen density (type_gems stays at count 8).
-Added core sleep behavior (ACTIVE state) so cores stop doing full growth work when capped/stalled.
-Added low-frequency wake checks for sleeping cores (about 1 in 10 random ticks), plus immediate wake on neighbor changes.
-Reduced core growth overhead by removing shuffle-heavy iteration and using cheaper direction/index iteration.
-Removed hardcoded core block-to-cluster mapping and switched to direct cluster lookup helper.
-Added early return when core is at max capacity to avoid extra growth scans.
-Reduced block update fanout in core/cluster growth paths by using lighter update flags where safe.
-Optimized cluster conflict and decorative placement loops to reduce allocations.
-Replaced expensive cluster canSurvive map-copy lookup with direct tag/core checks.
-Cleaned cluster drop logic by removing unnecessary registry path filtering.
2026-04-27 14:07:46 -07:00
..