mirror of
https://gitlab.com/cable-mc/cobblemon.git
synced 2026-10-27 04:26:27 -04:00
-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.