@minecraft
    正在准备搜索索引...

    类 EntityHealthChangedAfterEvent

    Contains information related to an entity when its health changes. Warning: don't change the health of an entity in this event, or it will cause an infinite loop!

    索引

    属性

    entity: Entity

    Entity whose health changed.

    newValue: number

    New health value of the entity.

    oldValue: number

    Old health value of the entity.