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