EntityHurtAfterEventSignal
¶
文档版本:1.21.60.21
EntityHurtAfterEventSignal
类。script_api.minecraft/server.entityhurtaftereventsignal.description
方法¶
subscribe
script_api.minecraft/server.entityhurtaftereventsignal.subscribe.description
subscribe(callback: (arg: EntityHurtAfterEvent) => void, options?: EntityEventOptions): (arg: EntityHurtAfterEvent) => void
callback
:(EntityHurtAfterEvent) => void
- script_api.minecraft/server.entityhurtaftereventsignal.subscribe.callback.description
options
?:EntityEventOptions
=null
- script_api.minecraft/server.entityhurtaftereventsignal.subscribe.options.description
- 返回值:
(EntityHurtAfterEvent) => void
- script_api.minecraft/server.entityhurtaftereventsignal.subscribe.return
unsubscribe
script_api.minecraft/server.entityhurtaftereventsignal.unsubscribe.description
callback
:(EntityHurtAfterEvent) => void
- script_api.minecraft/server.entityhurtaftereventsignal.unsubscribe.callback.description
- 返回值:
void
- script_api.minecraft/server.entityhurtaftereventsignal.unsubscribe.return