ProjectileHitEntityAfterEventSignal
¶
文档版本:1.21.60.21
ProjectileHitEntityAfterEventSignal
类。script_api.minecraft/server.projectilehitentityaftereventsignal.description
方法¶
subscribe
script_api.minecraft/server.projectilehitentityaftereventsignal.subscribe.description
subscribe(callback: (arg: ProjectileHitEntityAfterEvent) => void): (arg: ProjectileHitEntityAfterEvent) => void
callback
:(ProjectileHitEntityAfterEvent) => void
- script_api.minecraft/server.projectilehitentityaftereventsignal.subscribe.callback.description
- 返回值:
(ProjectileHitEntityAfterEvent) => void
- script_api.minecraft/server.projectilehitentityaftereventsignal.subscribe.return
unsubscribe
script_api.minecraft/server.projectilehitentityaftereventsignal.unsubscribe.description
callback
:(ProjectileHitEntityAfterEvent) => void
- script_api.minecraft/server.projectilehitentityaftereventsignal.unsubscribe.callback.description
- 返回值:
void
- script_api.minecraft/server.projectilehitentityaftereventsignal.unsubscribe.return