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