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