public class PotionColorCalculationEvent extends LivingEvent
Cancelable
 
 This event is fired on the MinecraftForge#EVENT_BUS.LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Constructor and Description | 
|---|
| PotionColorCalculationEvent(EntityLivingBase entity,
                           int color,
                           boolean hideParticle,
                           java.util.Collection<PotionEffect> effectList) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | areParticlesHidden() | 
| int | getColor() | 
| java.util.Collection<PotionEffect> | getEffects()Note that returned list is unmodifiable. | 
| void | setColor(int color) | 
| void | shouldHideParticles(boolean hideParticle) | 
getEntityLivinggetEntitygetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic PotionColorCalculationEvent(EntityLivingBase entity, int color, boolean hideParticle, java.util.Collection<PotionEffect> effectList)
public int getColor()
public void setColor(int color)
public boolean areParticlesHidden()
public void shouldHideParticles(boolean hideParticle)
public java.util.Collection<PotionEffect> getEffects()