Class MobEffectInstance

java.lang.Object
net.minecraft.world.effect.MobEffectInstance
All Implemented Interfaces:
Comparable<MobEffectInstance>, IForgeMobEffectInstance

public class MobEffectInstance extends Object implements Comparable<MobEffectInstance>, IForgeMobEffectInstance
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • effect

      private final MobEffect effect
    • duration

      private int duration
    • amplifier

      private int amplifier
    • ambient

      private boolean ambient
    • noCounter

      private boolean noCounter
    • visible

      private boolean visible
    • showIcon

      private boolean showIcon
    • hiddenEffect

      @Nullable private MobEffectInstance hiddenEffect
    • curativeItems

      private List<ItemStack> curativeItems
  • Constructor Details

    • MobEffectInstance

      public MobEffectInstance(MobEffect p_19513_)
    • MobEffectInstance

      public MobEffectInstance(MobEffect p_19515_, int p_19516_)
    • MobEffectInstance

      public MobEffectInstance(MobEffect p_19518_, int p_19519_, int p_19520_)
    • MobEffectInstance

      public MobEffectInstance(MobEffect p_19522_, int p_19523_, int p_19524_, boolean p_19525_, boolean p_19526_)
    • MobEffectInstance

      public MobEffectInstance(MobEffect p_19528_, int p_19529_, int p_19530_, boolean p_19531_, boolean p_19532_, boolean p_19533_)
    • MobEffectInstance

      public MobEffectInstance(MobEffect p_19535_, int p_19536_, int p_19537_, boolean p_19538_, boolean p_19539_, boolean p_19540_, @Nullable MobEffectInstance p_19541_)
    • MobEffectInstance

      public MobEffectInstance(MobEffectInstance p_19543_)
  • Method Details