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