-
-
Notifications
You must be signed in to change notification settings - Fork 340
Description
Proposition:
The HarvestEntityEvent interface currently only has methods to accessing the exp created by the event. I'd like to propose that methods also be added for accessing the drops created by event.
Reasoning
Currently, the only way to prevent an entity from creating exp/drops on death is to listen to both this event and the DropItemEvent.Destruct event. This can create situations where it's a bit unwieldy to have to cancel two events as a result of the same event occurring (the entities death). It also seems to make sense that if I want access to controlling the exp from an Entity's death, I mostly likely will want to be able to access the drops as well.Thoughts?
Side Note
It may be that I don't fully grasp the purpose of the HarvestEntityEvent, but is it only fired when a Player kills an entity, or is it fired when something from the environment kills an entity as well? (i.e. a creeper explosion)