EntityEvents.afterHurt
2025年3月29日小於 1 分鐘
/**
* Invoked after an entity is hurt by a damage source.
*/
function afterHurt(extra: $ResourceKey$$Type<($EntityType<(object)>)>, handler: (event: $AfterLivingEntityHurtKubeEvent) => void): void
function afterHurt(handler: (event: $AfterLivingEntityHurtKubeEvent) => void): void