net.minecraft.world.effect

public class MobEffect

asx
net.minecraft.world.effect.MobEffect
net.minecraft.class_1291
net.minecraft.unmapped.C_jaqasomh
net.minecraft.entity.effect.StatusEffect
net.minecraft.src.C_496_
net.minecraft.world.effect.MobEffectList

Field summary

Modifier and TypeField
private final Map<Attribute, AttributeModifier>
a
attributeModifiers
field_5885
f_rqynlpsa
attributeModifiers
f_19446_
private final MobEffectCategory
b
category
field_18270
f_pnqtkxvc
type
f_19447_
private final int
c
color
field_5886
f_fcnodzqo
color
f_19448_
private String
d
descriptionId
field_5883
f_yqqwyxsb
translationKey
f_19449_

Constructor summary

ModifierConstructor
protected (MobEffectCategory type, int color)

Method summary

Modifier and TypeMethod
public static MobEffect
a(int arg0)
byId(int arg0)
method_5569(int arg0)
m_jzogqyhc(int arg0)
byRawId(int rawId)
m_19453_(int p_19454_)
fromId(int arg0)
public static int
a(asx arg0)
getId(MobEffect arg0)
method_5554(class_1291 arg0)
m_oaxjffkn(C_jaqasomh arg0)
getRawId(StatusEffect type)
m_19459_(C_496_ p_19460_)
getId(MobEffectList arg0)
public void
a(att arg0, int arg1)
applyEffectTick(LivingEntity arg0, int arg1)
method_5572(class_1309 arg0, int arg1)
m_despsamn(C_usxaxydn arg0, int arg1)
applyUpdateEffect(LivingEntity entity, int amplifier)
m_6742_(C_524_ p_19468_, int arg1)
tick(EntityLiving arg0, int arg1)
public void
a(atf arg0, atf arg1, att arg2, int arg3, double arg4)
applyInstantenousEffect(Entity arg0, Entity arg1, LivingEntity arg2, int arg3, double arg4)
method_5564(class_1297 arg0, class_1297 arg1, class_1309 arg2, int arg3, double arg4)
m_xccgpemy(C_astfners arg0, C_astfners arg1, C_usxaxydn arg2, int arg3, double arg4)
applyInstantEffect(Entity source, Entity attacker, LivingEntity target, int amplifier, double proximity)
m_19461_(C_507_ p_19463_, C_507_ p_19464_, C_524_ p_19465_, int p_19466_, double arg4)
applyInstantEffect(Entity arg0, Entity arg1, EntityLiving arg2, int arg3, double arg4)
public boolean
a(int arg0, int arg1)
isDurationEffectTick(int arg0, int arg1)
method_5552(int arg0, int arg1)
m_jnwjfgon(int arg0, int arg1)
canApplyUpdateEffect(int duration, int amplifier)
m_6584_(int p_19456_, int arg1)
public boolean
a()
isInstantenous()
method_5561()
m_yxnpxply()
isInstant()
m_8093_()
isInstant()
protected String
b()
getOrCreateDescriptionId()
method_5559()
m_sdyrfndd()
loadTranslationKey()
m_19477_()
public String
c()
getDescriptionId()
method_5567()
m_baqejeuf()
getTranslationKey()
m_19481_()
public Component
d()
getDisplayName()
method_5560()
m_shkzklwb()
getName()
m_19482_()
public MobEffectCategory
e()
getCategory()
method_18792()
m_qpdmsuqi()
getType()
m_19483_()
public int
f()
getColor()
method_5556()
m_bpyxngol()
getColor()
m_19484_()
getColor()
public MobEffect
a(aup arg0, String arg1, double arg2, aus$a arg3)
addAttributeModifier(Attribute arg0, String arg1, double arg2, AttributeModifier$Operation arg3)
method_5566(class_1320 arg0, String arg1, double arg2, class_1322$class_1323 arg3)
m_nnnovhef(C_ppzfbbsy arg0, String arg1, double arg2, C_hdbqsqsm$C_pljpmmzs arg3)
addAttributeModifier(EntityAttribute attribute, String uuid, double amount, EntityAttributeModifier$Operation operation)
m_19472_(C_552_ p_19474_, String p_19475_, double p_19476_, C_555_$C_556_ arg3)
public Map<Attribute, AttributeModifier>
g()
getAttributeModifiers()
method_5565()
m_mhpaprgc()
getAttributeModifiers()
m_19485_()
public void
a(att arg0, aur arg1, int arg2)
removeAttributeModifiers(LivingEntity arg0, AttributeMap arg1, int arg2)
method_5562(class_1309 arg0, class_5131 arg1, int arg2)
m_sfpvrsws(C_usxaxydn arg0, C_cohbwqne arg1, int arg2)
onRemoved(LivingEntity entity, AttributeContainer attributes, int amplifier)
m_6386_(C_524_ p_19470_, C_554_ p_19471_, int arg2)
public void
b(att arg0, aur arg1, int arg2)
addAttributeModifiers(LivingEntity arg0, AttributeMap arg1, int arg2)
method_5555(class_1309 arg0, class_5131 arg1, int arg2)
m_azrqgeuc(C_usxaxydn arg0, C_cohbwqne arg1, int arg2)
onApplied(LivingEntity entity, AttributeContainer attributes, int amplifier)
m_6385_(C_524_ p_19479_, C_554_ p_19480_, int arg2)
public double
a(int arg0, aus arg1)
getAttributeModifierValue(int arg0, AttributeModifier arg1)
method_5563(int arg0, class_1322 arg1)
m_ofjtuppv(int arg0, C_hdbqsqsm arg1)
adjustModifierAmount(int amplifier, EntityAttributeModifier modifier)
m_7048_(int p_19458_, C_555_ arg1)
public boolean
h()
isBeneficial()
method_5573()
m_igvnkdng()
isBeneficial()
m_19486_()