跳至主要內容

EntityEvents.afterHurt

芒果凍布丁2026/3/14小於 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
最近更新:
貢獻者: EvanHsieh0415