Skip to content

v1.2.0

Choose a tag to compare

@GKaszewski GKaszewski released this 22 Jun 12:18
· 3 commits to master since this release

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

  • GenericBabyEntity now implements MobSpawnDataProvider so 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 AnimalBreedingMixin into BreedingLogic (static utility class)
  • Added BreedingDispatcher pattern — PlayerInteractionMixin has zero environment checks; routing to singleplayer/multiplayer/server handlers is centralized
  • Named constants in BreedingConstants replace all magic numbers and strings across the codebase