v1.2.0
Changelog
1.2.0
Features
- Mobs follow players holding a breeding item (tempt mechanic, 10-block range)
- Bred animals and their grown-up offspring no longer despawn
- Full multiplayer support — breeding is now server-authoritative via custom packets (
StartBreedingPacket,LoveParticlesPacket); love particles broadcast to all nearby clients
Fixes
GenericBabyEntitynow implementsMobSpawnDataProviderso babies spawn correctly over the network instead of crashing the server- Baby grow-up is server-authoritative; client no longer tries to spawn adults independently
Internal
- Extracted all breeding behavior from
AnimalBreedingMixinintoBreedingLogic(static utility class) - Added
BreedingDispatcherpattern —PlayerInteractionMixinhas zero environment checks; routing to singleplayer/multiplayer/server handlers is centralized - Named constants in
BreedingConstantsreplace all magic numbers and strings across the codebase