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