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