The EntityHealthChangedAfterEvent class in @minecraft/server.
Class in @minecraft/server
import { EntityHealthChangedAfterEvent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”entity
Section titled “entity”read-only
readonly entity: Entity;Types
newValue
Section titled “newValue”read-only
readonly newValue: number;oldValue
Section titled “oldValue”read-only
readonly oldValue: number;Used by
Section titled “Used by”EntityHealthChangedAfterEventSignal.subscribe, EntityHealthChangedAfterEventSignal.unsubscribe