@minecraft/serverClassesEffectAddBeforeEventSignal本页总览Class: EffectAddBeforeEventSignal Manages callbacks that are connected to when an effect is added to an entity. Constructors new EffectAddBeforeEventSignal() private new EffectAddBeforeEventSignal(): EffectAddBeforeEventSignal Returns EffectAddBeforeEventSignal Methods subscribe()