net.minecraft.world.effect

public class MobEffectInstance

implements Comparable<MobEffectInstance>

akh
net.minecraft.world.effect.MobEffectInstance
net.minecraft.class_1293
net.minecraft.entity.effect.StatusEffectInstance
net.minecraft.potion.EffectInstance
net.minecraft.server.v1_15_R1.MobEffect

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_5897
LOGGER
field_180155_a
private final MobEffect
b
effect
field_5896
type
field_188420_b
private int
c
duration
field_5895
duration
field_76460_b
duration
private int
d
amplifier
field_5893
amplifier
field_76461_c
amplification
private boolean
e
splash
field_5894
splash
field_82723_d
splash
private boolean
f
ambient
field_5892
ambient
field_82724_e
ambient
private boolean
h
visible
field_5890
showParticles
field_188421_h
private boolean
i
showIcon
field_5889
showIcon
field_205349_i
private boolean
g
noCounter
field_5891
permanent
field_100013_f

Constructor summary

ModifierConstructor
public (MobEffect type)
public (MobEffect type, int duration)
public (MobEffect type, int duration, int amplifier)
public (MobEffect type, int duration, int amplifier, boolean ambient, boolean visible)
public (MobEffect type, int duration, int amplifier, boolean ambient, boolean showParticles, boolean showIcon)
public (MobEffectInstance that)

Method summary

Modifier and TypeMethod
public boolean
a(akh arg0)
update(MobEffectInstance arg0)
method_5590(class_1293 arg0)
upgrade(StatusEffectInstance that)
func_199308_a(EffectInstance arg0)
public MobEffect
a()
getEffect()
method_5579()
getEffectType()
func_188419_a()
getMobEffect()
public int
b()
getDuration()
method_5584()
getDuration()
func_76459_b()
getDuration()
public int
c()
getAmplifier()
method_5578()
getAmplifier()
func_76458_c()
getAmplifier()
public boolean
d()
isAmbient()
method_5591()
isAmbient()
func_82720_e()
isAmbient()
public boolean
e()
isVisible()
method_5581()
shouldShowParticles()
func_188418_e()
isShowParticles()
public boolean
f()
showIcon()
method_5592()
shouldShowIcon()
func_205348_f()
public boolean
a(akw arg0)
tick(LivingEntity arg0)
method_5585(class_1309 arg0)
update(LivingEntity arg0)
func_76455_a(LivingEntity arg0)
tick(EntityLiving arg0)
private int
i()
tickDownDuration()
method_5588()
updateDuration()
func_76454_e()
public void
b(akw arg0)
applyEffect(LivingEntity arg0)
method_5589(class_1309 arg0)
applyUpdateEffect(LivingEntity arg0)
func_76457_b(LivingEntity arg0)
public String
g()
getDescriptionId()
method_5586()
getTranslationKey()
func_76453_d()
public CompoundTag
a(jt arg0)
save(CompoundTag arg0)
method_5582(class_2487 arg0)
serialize(CompoundTag arg0)
func_82719_a(CompoundNBT arg0)
public static MobEffectInstance
b(jt arg0)
load(CompoundTag arg0)
method_5583(class_2487 arg0)
deserialize(CompoundTag tag)
func_82722_b(CompoundNBT arg0)
public int
b(akh arg0)
compareTo(MobEffectInstance arg0)
method_5587(class_1293 arg0)
compareTo(StatusEffectInstance arg0)
compareTo(EffectInstance arg0)
public void
b(boolean arg0)
setNoCounter(boolean arg0)
method_5580(boolean arg0)
setPermanent(boolean permanent)
func_100012_b(boolean arg0)
public boolean
h()
isNoCounter()
method_5593()
isPermanent()
func_100011_g()