net.minecraft.world.effect

public class MobEffectInstance

implements Comparable<MobEffectInstance>

apu
net.minecraft.world.effect.MobEffectInstance
net.minecraft.class_1293
net.minecraft.entity.effect.StatusEffectInstance
net.minecraft.potion.EffectInstance
net.minecraft.server.v1_16_R3.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
showParticles
private boolean
i
showIcon
field_5889
showIcon
field_205349_i
showIcon
private MobEffectInstance
j
hiddenEffect
field_21830
hiddenEffect
field_230115_j_
hiddenEffect
private boolean
g
noCounter
field_5891
permanent
field_100013_f

Constructor summary

ModifierConstructor
public (MobEffect arg0)
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 (MobEffect type, int duration, int amplifier, boolean ambient, boolean showParticles, boolean showIcon, MobEffectInstance hiddenEffect)
public (MobEffectInstance arg0)

Method summary

Modifier and TypeMethod
void
a(apu arg0)
setDetailsFrom(MobEffectInstance arg0)
method_24276(class_1293 arg0)
copyFrom(StatusEffectInstance that)
func_230117_a_(EffectInstance arg0)
public boolean
b(apu 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()
isShowIcon()
public boolean
a(aqm arg0, Runnable arg1)
tick(LivingEntity arg0, Runnable arg1)
method_5585(class_1309 arg0, Runnable arg1)
update(LivingEntity entity, Runnable overwriteCallback)
func_76455_a(LivingEntity arg0, Runnable arg1)
tick(EntityLiving arg0, Runnable arg1)
private int
i()
tickDownDuration()
method_5588()
updateDuration()
func_76454_e()
public void
a(aqm arg0)
applyEffect(LivingEntity arg0)
method_5589(class_1309 arg0)
applyUpdateEffect(LivingEntity entity)
func_76457_b(LivingEntity arg0)
public String
g()
getDescriptionId()
method_5586()
getTranslationKey()
func_76453_d()
public CompoundTag
a(md arg0)
save(CompoundTag arg0)
method_5582(class_2487 arg0)
writeNbt(NbtCompound nbt)
func_82719_a(CompoundNBT arg0)
private void
c(md arg0)
writeDetailsTo(CompoundTag arg0)
method_24277(class_2487 arg0)
writeTypelessNbt(NbtCompound nbt)
func_230119_c_(CompoundNBT arg0)
public static MobEffectInstance
b(md arg0)
load(CompoundTag arg0)
method_5583(class_2487 arg0)
fromNbt(NbtCompound nbt)
func_82722_b(CompoundNBT arg0)
private static MobEffectInstance
a(aps arg0, md arg1)
loadSpecifiedEffect(MobEffect arg0, CompoundTag arg1)
method_24275(class_1291 arg0, class_2487 arg1)
fromNbt(StatusEffect type, NbtCompound nbt)
func_230116_a_(Effect arg0, CompoundNBT arg1)
public int
c(apu 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()