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