Class EffectParticleModificationEvent

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
net.neoforged.neoforge.event.entity.living.LivingEvent
net.neoforged.neoforge.event.entity.living.EffectParticleModificationEvent

public class EffectParticleModificationEvent extends LivingEvent
Fires for each effect to allow modification or replacement of the particle options (you can set it to null to reset it to default).
This event is not ICancellableEvent.
This event is fired on the NeoForge.EVENT_BUS.
  • Field Details

  • Constructor Details

  • Method Details

    • getEffect

      public MobEffectInstance getEffect()
    • getOriginalParticleOptions

      public ParticleOptions getOriginalParticleOptions()
    • getParticleOptions

      public ParticleOptions getParticleOptions()
    • setParticleOptions

      public void setParticleOptions(@Nullable @Nullable ParticleOptions options)
    • isVisible

      public boolean isVisible()
    • setVisible

      public void setVisible(boolean visible)