Skip to content

Releases: GKaszewski/animal-breeding-mod

v1.2.2

Choose a tag to compare

@GKaszewski GKaszewski released this 25 Jun 14:56

1.2.2

Fixes

  • Baby mobs now play their species' hurt/death sounds instead of the player hurt sound

Internal

  • Extracted registerAnimal helper in InitListener; all five animal registrations are now one-liners
  • Moved genetics application into BreedingRegistry.applyGenetics, removing the sheep special-case from createChild
  • Sound strings stored in EntityMetadata; GenericBabyEntity delegates getHurtSound/getDeathSound to metadata

v1.2.1

Choose a tag to compare

@GKaszewski GKaszewski released this 25 Jun 14:35

1.2.1

Fixes

  • Updated to StationAPI 2.0.0-alpha.6.2 (incompatible with alpha.5.x)

v1.2.0

Choose a tag to compare

@GKaszewski GKaszewski released this 22 Jun 12:18

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

v1.1.0

Choose a tag to compare

@GKaszewski GKaszewski released this 08 Dec 13:28

Passing genes (sheeps inherit color now)

v1.0.0

Choose a tag to compare

@GKaszewski GKaszewski released this 08 Dec 10:01
Remove unused key binding and related event listeners from ClientList…