Class PotionColorCalculationEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.entity.EntityEvent
net.minecraftforge.event.entity.living.LivingEvent
net.minecraftforge.event.entity.living.PotionColorCalculationEvent

public class PotionColorCalculationEvent extends LivingEvent
Fires after Potion Color Calculation. this event is not Cancelable This event is fired on the MinecraftForge#EVENT_BUS.
  • Field Details

    • color

      private int color
    • hideParticle

      private boolean hideParticle
    • effectList

      private final Collection<EffectInstance> effectList
  • Constructor Details

  • Method Details

    • getColor

      public int getColor()
    • setColor

      public void setColor(int color)
    • areParticlesHidden

      public boolean areParticlesHidden()
    • shouldHideParticles

      public void shouldHideParticles(boolean hideParticle)
    • getEffects

      public Collection<EffectInstance> getEffects()
      Note that returned list is unmodifiable.
      Returns:
      effects