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