ItemUseOnEventSignal
¶
文档版本:1.21.60.21
ItemUseOnEventSignal
类。script_api.mojang-minecraft.itemuseoneventsignal.description
方法¶
subscribe
script_api.mojang-minecraft.itemuseoneventsignal.subscribe.description
callback
:(ItemUseOnEvent) => void
- script_api.mojang-minecraft.itemuseoneventsignal.subscribe.callback.description
- 返回值:
(ItemUseOnEvent) => void
- script_api.mojang-minecraft.itemuseoneventsignal.subscribe.return
unsubscribe
script_api.mojang-minecraft.itemuseoneventsignal.unsubscribe.description
callback
:(ItemUseOnEvent) => void
- script_api.mojang-minecraft.itemuseoneventsignal.unsubscribe.callback.description
- 返回值:
void
- script_api.mojang-minecraft.itemuseoneventsignal.unsubscribe.return