net.minecraft.world.effect

public class MobEffectInstance

implements Comparable<MobEffectInstance>

bdk
net.minecraft.world.effect.MobEffectInstance
net.minecraft.class_1293
net.minecraft.unmapped.C_wpfizwve
net.minecraft.entity.effect.StatusEffectInstance
net.minecraft.entity.effect.StatusEffectInstance
net.minecraft.src.C_498_
net.minecraft.world.effect.MobEffect

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_5897
f_cawgobpt
LOGGER
LOGGER
f_19501_
private final MobEffect
b
effect
field_5896
f_roivswws
type
type
f_19502_
int
c
duration
field_5895
f_phnnfhqn
duration
duration
f_19503_
private int
d
amplifier
field_5893
f_bkslpncm
amplifier
amplifier
f_19504_
private boolean
e
ambient
field_5892
f_ieofirpv
ambient
ambient
f_19506_
private boolean
f
visible
field_5890
f_hvgmvstv
showParticles
showParticles
f_19508_
private boolean
g
showIcon
field_5889
f_vciwymjw
showIcon
showIcon
f_19509_
private MobEffectInstance
h
hiddenEffect
field_21830
f_cqswxreu
hiddenEffect
hiddenEffect
f_19510_
private final Optional<MobEffectInstance$FactorData>
i
factorData
field_38084
f_jlugskdk
factorCalculationData
f_216885_

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 (MobEffect type, int duration, int amplifier, boolean ambient, boolean showParticles, boolean showIcon, MobEffectInstance hiddenEffect, Optional<MobEffectInstance$FactorData> factorCalculationData)
public (MobEffectInstance instance)

Method summary

Modifier and TypeMethod
public Optional<MobEffectInstance$FactorData>
a()
getFactorData()
method_42129()
m_nnlbhbex()
getFactorCalculationData()
m_216895_()
void
a(bdk arg0)
setDetailsFrom(MobEffectInstance arg0)
method_24276(class_1293 arg0)
m_xwkrgskr(C_wpfizwve arg0)
copyFrom(StatusEffectInstance that)
copyFrom(StatusEffectInstance that)
m_19548_(C_498_ arg0)
public boolean
b(bdk arg0)
update(MobEffectInstance arg0)
method_5590(class_1293 arg0)
m_hyaduncp(C_wpfizwve arg0)
upgrade(StatusEffectInstance that)
upgrade(StatusEffectInstance that)
m_19558_(C_498_ arg0)
public MobEffect
b()
getEffect()
method_5579()
m_kayxpwex()
getEffectType()
getEffectType()
m_19544_()
public int
c()
getDuration()
method_5584()
m_dzdptdhl()
getDuration()
getDuration()
m_19557_()
public int
d()
getAmplifier()
method_5578()
m_bbjmshxh()
getAmplifier()
getAmplifier()
m_19564_()
public boolean
e()
isAmbient()
method_5591()
m_uhzuhbds()
isAmbient()
isAmbient()
m_19571_()
public boolean
f()
isVisible()
method_5581()
m_qqtmdstn()
shouldShowParticles()
shouldShowParticles()
m_19572_()
public boolean
g()
showIcon()
method_5592()
m_ohxkuhnm()
shouldShowIcon()
shouldShowIcon()
m_19575_()
public boolean
a(beg arg0, Runnable arg1)
tick(LivingEntity arg0, Runnable arg1)
method_5585(class_1309 arg0, Runnable arg1)
m_eujryyfr(C_usxaxydn arg0, Runnable arg1)
update(LivingEntity entity, Runnable overwriteCallback)
update(LivingEntity entity, Runnable overwriteCallback)
m_19552_(C_524_ p_19554_, Runnable arg1)
private int
i()
tickDownDuration()
method_5588()
m_zhljuajd()
updateDuration()
updateDuration()
m_19579_()
public void
a(beg arg0)
applyEffect(LivingEntity arg0)
method_5589(class_1309 arg0)
m_karaetbk(C_usxaxydn arg0)
applyUpdateEffect(LivingEntity entity)
applyUpdateEffect(LivingEntity entity)
m_19550_(C_524_ arg0)
public String
h()
getDescriptionId()
method_5586()
m_xedzspyz()
getTranslationKey()
getTranslationKey()
m_19576_()
public CompoundTag
a(qp arg0)
save(CompoundTag arg0)
method_5582(class_2487 arg0)
m_iioanxlw(C_hhlwcnih arg0)
writeNbt(NbtCompound nbt)
writeNbt(NbtCompound nbt)
m_19555_(C_4917_ arg0)
private void
c(qp arg0)
writeDetailsTo(CompoundTag arg0)
method_24277(class_2487 arg0)
m_ztseznln(C_hhlwcnih arg0)
writeTypelessNbt(NbtCompound nbt)
writeTypelessNbt(NbtCompound nbt)
m_19567_(C_4917_ arg0)
public static MobEffectInstance
b(qp arg0)
load(CompoundTag arg0)
method_5583(class_2487 arg0)
m_eihqlhtj(C_hhlwcnih arg0)
fromNbt(NbtCompound nbt)
fromNbt(NbtCompound nbt)
m_19560_(C_4917_ p_19561_)
private static MobEffectInstance
a(bdi arg0, qp arg1)
loadSpecifiedEffect(MobEffect arg0, CompoundTag arg1)
method_24275(class_1291 arg0, class_2487 arg1)
m_ukwouxmh(C_jaqasomh arg0, C_hhlwcnih arg1)
fromNbt(StatusEffect type, NbtCompound nbt)
fromNbt(StatusEffect type, NbtCompound nbt)
m_19545_(C_496_ p_19546_, C_4917_ p_19547_)
public int
c(bdk arg0)
compareTo(MobEffectInstance arg0)
method_5587(class_1293 arg0)
m_quzccvoy(C_wpfizwve arg0)
compareTo(StatusEffectInstance arg0)
compareTo(StatusEffectInstance arg0)
compareTo(C_498_ arg0)