Untitled Duck Mod (Forge)

Untitled Duck Mod (Forge)

195k Downloads

Chicken Nerf Integration

supersaiyansubtlety opened this issue ยท 0 comments

commented

Describe the feature you'd like
A user of my mod, Chicken Nerf, requested integration with UDM.
I've created this issue on my repo.

Describe alternatives you've considered
Chicken Nerf does 3 things:

  1. stop random egg laying
  2. on breeding, produce eggs instead of baby animals
  3. change the chance/number of babies spawned when an egg entity lands

  1. I can do on my side, since UDM handles breeding by delegating to super

  1. requires either
  • an event added to UDM that CN can subscribe to and cancel
  • UDM check if CN is present and cancel egg laying if so

  1. requires either
  • an event added to UDM that CN can subscribe to and change how many entities are spawned
  • CN adds an accessible method to determine how many entities should come from an egg, and UDM checks if CN is present and calls that method if so

Do any of these solutions sound acceptable to you?

Additional context
I don't want to just mixin to UDM because both mods are open source so an API on either side is possible, and less brittle.