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