EntityPlayer:
Changed constructor for PlayerDeathEvent in die():
- Added keepInventory from gamerule
CraftEventFactory:
Added parameter keepInventory to callPlayerDeathEvent()
EntityPlayer, EventFactory:
Improve cancellation of PlayerDeathEvent.
CraftEventFactory:
Improved keepInventory and cancellation of PlayerDeathEvent.
EntityPlayer, CraftEventFactory:
Added support for PlayerDeathAttemptEvent