类 MobEffectEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
直接已知子类:
MobEffectEvent.Added, MobEffectEvent.Applicable, MobEffectEvent.Expired, MobEffectEvent.Remove

public class MobEffectEvent extends LivingEvent
This event is fired when an interaction between a LivingEntity and MobEffectInstance happens.

All children of this event are fired on the MinecraftForge.EVENT_BUS.

  • 字段详细资料

    • effectInstance

      @Nullable protected final @Nullable MobEffectInstance effectInstance
  • 构造器详细资料

  • 方法详细资料

    • getEffectInstance

      @Nullable public @Nullable MobEffectInstance getEffectInstance()