EffectAddAfterEventSignal
¶
文档版本:1.21.60.21
EffectAddAfterEventSignal
类。script_api.minecraft/server.effectaddaftereventsignal.description
方法¶
subscribe
script_api.minecraft/server.effectaddaftereventsignal.subscribe.description
subscribe(callback: (arg: EffectAddAfterEvent) => void, options?: EntityEventOptions): (arg: EffectAddAfterEvent) => void
callback
:(EffectAddAfterEvent) => void
- script_api.minecraft/server.effectaddaftereventsignal.subscribe.callback.description
options
?:EntityEventOptions
=null
- script_api.minecraft/server.effectaddaftereventsignal.subscribe.options.description
- 返回值:
(EffectAddAfterEvent) => void
- script_api.minecraft/server.effectaddaftereventsignal.subscribe.return
unsubscribe
script_api.minecraft/server.effectaddaftereventsignal.unsubscribe.description
callback
:(EffectAddAfterEvent) => void
- script_api.minecraft/server.effectaddaftereventsignal.unsubscribe.callback.description
- 返回值:
void
- script_api.minecraft/server.effectaddaftereventsignal.unsubscribe.return