RC20
- Fixes RC19 VerifyError: EntityMyrmexBase.isOutsideHiveRC19 required 6 JVM operand-stack slots but declared max_stack=5.
- Max-stack audit across all 818 classes / 6545 concrete methods found no remaining under-declared stack sizes.

Myrmex Restored RC4
===================
Base: IceAndFireCE Fabric 1.2.6 (Minecraft 1.20.1)
Myrmex donor: IceAndFireCE Fabric 1.0.2 (Minecraft 1.20.1)

RC4 worldgen fix:
- Fixed the cross-chunk hive-piece origin bug. The 3x3 structure pieces now subtract their stored +/-32 block offset from the piece pivot before regenerating the deterministic hive layout. This makes all nine pieces cooperate on one shared hive instead of generating shifted/clipped copies.
- Retains RestrictWorldAccess so each piece still only writes inside its allowed nearby chunk region rather than freely touching unloaded chunks.

RC3 compatibility state retained:
- Uses verifier-valid DelightFoodItem bytecode from the working 1.0.2 Fabric implementation.
- Legacy DragonSteelToolMaterial signature bridge retained.
- Typed 1.2.6 config fields retain legacy compatibility aliases needed by restored Myrmex-era code.

Myrmex stability fixes retained:
- Hive reputation is not erased when tracked member count temporarily reaches zero.
- Queen lookup is null-safe.
- WanderRadius NBT integer type check fixed.
- Established queens with valid hives do not excavate duplicate colonies.
- Egg nursery lookup is null-safe.
- Worker partial cocoon deposits preserve remaining items and mark inventories dirty.
- Cocoon random selection includes every eligible cocoon.

IMPORTANT: Existing already-generated broken hives will not be rebuilt automatically. Test RC4 in newly generated chunks or a fresh test world.


Myrmex Restored RC8
===================
- Replaced the RC6/RC7 EntityMyrmexQueen bytecode patch that produced an invalid StackMapTable/VerifyError.
- Rebased queen behavior on the verifier-valid RC5 queen class.
- Fresh queens start homeless; assigning a hive marks them homed.
- MadeHome is now the persistent authority for whether a queen may excavate another starter nest, so a temporarily missing hive object does not trigger an infinite dig loop.
- A nest-dig grief-event attempt is consumed before dispatch, preventing protection vetoes from causing endless dig animation retries.
- Starter nest variant follows queen.isJungle(), so desert queens create desert starter hives and jungle queens create jungle starter hives.
- RC7 worker/soldier/starter-hive/worldgen fixes are retained.


Myrmex Restored RC9
===================
- Reputation persistence fixes from earlier RCs are retained: hive reputation is serialized and is no longer erased merely because the tracked Myrmex member count temporarily reaches zero.
- Fixed the reputation bootstrap deadlock by changing the default reputation for a player not yet present in a hive reputation map from 0 to 25.
- 25 remains the peaceful threshold, 50 remains the trading threshold, and 75 remains the staff-command threshold.
- Correct-variant resin collected by a worker still raises reputation by +5.
- Harming Myrmex still lowers reputation; once reputation falls below 25, that hive becomes hostile.
- This avoids the old AI conflict where a 0-reputation player is attacked immediately and workers then refuse to forage resin while they have an attack target.
- Existing saved reputation entries are preserved exactly. A player already stored below 25 because they harmed the hive remains hostile until reputation is raised.


Myrmex Restored RC16
====================
- Newly hatched Myrmex larvae/pupae (growth stage 0/1) are treated as non-hostile by all Myrmex, preventing workers/soldiers/sentinels/royals from killing a caste immediately after it hatches while its hive association is being resolved.
- Fixed Myrmex hive-mate recognition: EntityMyrmexBase.haveSameHive previously compared two BlockPos hive centers with JVM reference identity. RC16 uses BlockPos.equals(Object), so separately reconstructed hive records at the same coordinates are recognized as the same colony.
- Queen suffocation protection: EntityMyrmexQueen now treats Minecraft DamageTypes.IN_WALL as invulnerable damage. Other damage types are unchanged. This prevents the queen's large collision box from suffocating in resin/stone inside her own hive or during burrowing.
- RC15 fixes retained, including Fabric-compatible movement/navigation changes, Money advancement support for jungle resin, jungle-queen resin trade corrections, reputation fixes, and worldgen fixes.

RC17: Fixed duplicate queen/initial colony spawning from multi-piece hive generation. Only the structure piece with offset X=0,Z=0 may spawn colony entities; all other pieces only reconstruct blocks/rooms/tunnels.
