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