net.minecraft.world.effect

public class MobEffect

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

Field summary

Modifier and TypeField
private final Map<Attribute, AttributeModifierTemplate>
a
attributeModifiers
field_5885
f_rqynlpsa
attributeModifiers
attributeModifiers
f_19446_
private final MobEffectCategory
b
category
field_18270
f_pnqtkxvc
category
type
f_19447_
private final int
c
color
field_5886
f_fcnodzqo
color
color
f_19448_
private String
d
descriptionId
field_5883
f_yqqwyxsb
translationKey
translationKey
f_19449_
private Supplier<MobEffectInstance$FactorData>
e
factorDataFactory
field_38083
f_rxhxeqjb
factorCalculationDataSupplier
factorDataFactory
f_216878_
private final Holder$Reference<MobEffect>
f
builtInRegistryHolder
field_45729
f_uzdkjzjf
registryEntry
f_290719_

Constructor summary

ModifierConstructor
protected (MobEffectCategory category, int color)

Method summary

Modifier and TypeMethod
public Optional<MobEffectInstance$FactorData>
b()
createFactorData()
method_42127()
m_euvsmbct()
getFactorCalculationDataSupplier()
getFactorData()
m_216881_()
public void
a(bjg 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)
applyUpdateEffect(LivingEntity entity, int amplifier)
m_6742_(C_524_ p_19468_, int arg1)
public void
a(biq arg0, biq arg1, bjg 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)
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)
public boolean
a(int arg0, int arg1)
shouldApplyEffectTickThisTick(int arg0, int arg1)
method_5552(int arg0, int arg1)
m_irzxckrv(int arg0, int arg1)
canApplyUpdateEffect(int duration, int amplifier)
shouldApplyUpdateEffect(int tick, int amplifier)
m_19443_(int p_301085_, int arg1)
public void
b(bjg arg0, int arg1)
onEffectStarted(LivingEntity arg0, int arg1)
method_52520(class_1309 arg0, int arg1)
m_cqhckmsk(C_usxaxydn arg0, int arg1)
onApplied(LivingEntity entity, int amplifier)
m_292868_(C_524_ p_297449_, int arg1)
public boolean
a()
isInstantenous()
method_5561()
m_yxnpxply()
isInstant()
isInstant()
m_8093_()
protected String
c()
getOrCreateDescriptionId()
method_5559()
m_sdyrfndd()
loadTranslationKey()
loadTranslationKey()
m_19477_()
public String
d()
getDescriptionId()
method_5567()
m_baqejeuf()
getTranslationKey()
getTranslationKey()
m_19481_()
public Component
e()
getDisplayName()
method_5560()
m_shkzklwb()
getName()
getName()
m_19482_()
public MobEffectCategory
f()
getCategory()
method_18792()
m_qpdmsuqi()
getCategory()
getType()
m_19483_()
public int
g()
getColor()
method_5556()
m_bpyxngol()
getColor()
getColor()
m_19484_()
public MobEffect
a(bkh arg0, String arg1, double arg2, bkk$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)
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 MobEffect
a(Supplier<bid$a> arg0)
setFactorDataFactory(Supplier<MobEffectInstance$FactorData> arg0)
method_42126(Supplier<class_1293$class_7247> arg0)
m_glzjklmf(Supplier<C_wpfizwve$C_hsbwmutx> arg0)
setFactorCalculationDataSupplier(Supplier<StatusEffectInstance$FactorCalculationData> factorCalculationDataSupplier)
setFactorDataFactory(Supplier<StatusEffectInstance$FactorData> factorDataFactory)
m_216879_(Supplier<C_498_$C_213007_> arg0)
public Map<Attribute, AttributeModifierTemplate>
h()
getAttributeModifiers()
method_5565()
m_mhpaprgc()
getAttributeModifiers()
getAttributeModifiers()
m_19485_()
public void
a(bkj arg0)
removeAttributeModifiers(AttributeMap arg0)
method_5562(class_5131 arg0)
m_sfpvrsws(C_cohbwqne arg0)
onRemoved(AttributeContainer attributeContainer)
onRemoved(AttributeContainer attributes)
m_6386_(C_554_ arg0)
public void
a(bkj arg0, int arg1)
addAttributeModifiers(AttributeMap arg0, int arg1)
method_5555(class_5131 arg0, int arg1)
m_azrqgeuc(C_cohbwqne arg0, int arg1)
onApplied(AttributeContainer attributeContainer, int amplifier)
onApplied(AttributeContainer attributes, int amplifier)
m_6385_(C_554_ p_19480_, int arg1)
public boolean
i()
isBeneficial()
method_5573()
m_igvnkdng()
isBeneficial()
isBeneficial()
m_19486_()
public Holder$Reference<MobEffect>
j()
builtInRegistryHolder()
method_53123()
m_mjrqsmfh()
getRegistryEntry()
m_295099_()