Список изменений
Added & Optimized
- Zero-Allocation Spatial Partitioning & High-Mob Density Throttling (
[BL-NR-005]):- Staggered 100-Tick (5-second) Modulo: Distributed autonomous livestock breeding checks across tick cycles (
(id + gameTime) % 100 == 0) with proportional probability scaling (rate / 100), reducing server AI check overhead by over 95%. - Fast-Fail Probability Ordering: Random reproduction chance is rolled before any block or entity scans occur, skipping 99.9% of heavy world interactions in constant $O(1)$ time.
- SpatialBreedingCacheHelper: Created single-purpose spatial cache managing sub-chunk entity density counts (100-tick TTL) and pasture enrichment evaluation (200-tick TTL), eliminating redundant bounding-box entity scans and block state iterations across neighboring livestock.
- Compact Pasture Scan Bounds: Optimized pasture scanning bounding box from 25x9x25 down to a compact 17x7x17 enclosure radius ($2,023$ blocks).
- Staggered 100-Tick (5-second) Modulo: Distributed autonomous livestock breeding checks across tick cycles (
- Better Dogs Synergy & Tamed Pet Protection (
AnimalBreedingMixin):- Tamed Animals Autonomous Breeding Exemption: Tamed dogs and pets never breed autonomously in the wild without explicit player interaction.
- Instant Vanilla Birth Delivery: Manual breeding of tamed dogs immediately delivers vanilla/Better Dogs litters (1–4 pups, personality DNA, scale alleles) with zero forced gestation delays.
- Herd Flocking Scoping: Restricted
FollowHerdLeaderGoalstrictly to pastoral livestock, allowing Better Dogs pack alpha leadership (WildWolfFollowLeaderGoal) to operate exclusively on wolves.
- Cooperative Herd Leader Caching (
HerdSocialHelper): Implemented spatial chunk caching (LEADER_CACHE) caching elected Alpha leaders for 10 seconds (200 ticks), eliminating hundreds of redundant 24-block bounding box queries per second across loaded chunks.
Файлы
natural-reproduction-1.4.6+26.2.jar(152.03 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.4.6+26.2
Загрузчики
Fabric
Версии игры
26.2
Загрузок
26
Дата публикации
30.08.2026

