类 EntityDieAfterEvent实验性

Contains data related to the death of an entity in the game.

属性

damageSource: EntityDamageSource

If specified, provides more information on the source of damage that caused the death of this entity.

deadEntity: Entity

Now-dead entity object.