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