-
-
Notifications
You must be signed in to change notification settings - Fork 415
Description
Suggestion
Add the EntityFertilizeEggEvent you can find a link to it here
Why?
Similar to EntityBreedEvent this is called for when a turtle has an egg, a frog is pregnant, and when a sniffer finds a sniffer egg, however there is no child in this event.
Other
A key thing to note, while this could be implemented into the on entity breed event, this is likely best separated as to not confuse people why [bred] (child|offspring) returns null. *this could also just be mentioned under the description*
One last thing to note would be both EntityBreedEvent and EntityFertilizeEggEvent should be given an event-value error when using event-entity similar to how it is done in Damage/Death and ProjectileHit events.
My reasoning for that is event-entity in EntityBreedEvent is the child where as event-entity in EntityFertilizeEggEvent is the mother (despite having a getMother())
Agreement
- I have read the guidelines above and affirm I am following them with this suggestion.