net.minecraft.world.effect

public class MobEffect

aoe
net.minecraft.world.effect.MobEffect
net.minecraft.class_1291
net.minecraft.entity.effect.StatusEffect
net.minecraft.potion.Effect
net.minecraft.server.v1_16_R1.MobEffectList

Field summary

Modifier and TypeField
private final Map<Attribute, AttributeModifier>
a
attributeModifiers
field_5885
attributeModifiers
field_111188_I
private final MobEffectCategory
b
category
field_18270
type
field_220305_b
private final int
c
color
field_5886
color
field_76414_N
private String
d
descriptionId
field_5883
translationKey
field_76416_I

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)
byRawId(int rawId)
func_188412_a(int arg0)
fromId(int arg0)
public static int
a(aoe arg0)
getId(MobEffect arg0)
method_5554(class_1291 arg0)
getRawId(StatusEffect type)
func_188409_a(Effect arg0)
getId(MobEffectList arg0)
public void
a(aoy arg0, int arg1)
applyEffectTick(LivingEntity arg0, int arg1)
method_5572(class_1309 arg0, int arg1)
applyUpdateEffect(LivingEntity entity, int amplifier)
func_76394_a(LivingEntity arg0, int arg1)
tick(EntityLiving arg0, int arg1)
public void
a(aom arg0, aom arg1, aoy 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)
applyInstantEffect(Entity source, Entity attacker, LivingEntity target, int amplifier, double proximity)
func_180793_a(Entity arg0, Entity arg1, LivingEntity arg2, int arg3, 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)
canApplyUpdateEffect(int duration, int amplifier)
func_76397_a(int arg0, int arg1)
public boolean
a()
isInstantenous()
method_5561()
isInstant()
func_76403_b()
isInstant()
protected String
b()
getOrCreateDescriptionId()
method_5559()
loadTranslationKey()
func_210758_b()
public String
c()
getDescriptionId()
method_5567()
getTranslationKey()
func_76393_a()
public Component
d()
getDisplayName()
method_5560()
getName()
func_199286_c()
public int
f()
getColor()
method_5556()
getColor()
func_76401_j()
getColor()
public MobEffect
a(aps arg0, String arg1, double arg2, apv$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)
addAttributeModifier(EntityAttribute attribute, String uuid, double amount, EntityAttributeModifier$Operation operation)
func_220304_a(Attribute arg0, String arg1, double arg2, AttributeModifier$Operation arg3)
public void
a(aoy arg0, apu arg1, int arg2)
removeAttributeModifiers(LivingEntity arg0, AttributeMap arg1, int arg2)
method_5562(class_1309 arg0, class_5131 arg1, int arg2)
onRemoved(LivingEntity entity, AttributeContainer attributes, int amplifier)
func_111187_a(LivingEntity arg0, AttributeModifierManager arg1, int arg2)
public void
b(aoy arg0, apu arg1, int arg2)
addAttributeModifiers(LivingEntity arg0, AttributeMap arg1, int arg2)
method_5555(class_1309 arg0, class_5131 arg1, int arg2)
onApplied(LivingEntity entity, AttributeContainer attributes, int amplifier)
func_111185_a(LivingEntity arg0, AttributeModifierManager arg1, int arg2)
public double
a(int arg0, apv arg1)
getAttributeModifierValue(int arg0, AttributeModifier arg1)
method_5563(int arg0, class_1322 arg1)
adjustModifierAmount(int amplifier, EntityAttributeModifier modifier)
func_111183_a(int arg0, AttributeModifier arg1)
public MobEffectCategory
e()
getCategory()
method_18792()
getType()
func_220303_e()
public Map<Attribute, AttributeModifier>
g()
getAttributeModifiers()
method_5565()
getAttributeModifiers()
func_111186_k()
public boolean
h()
isBeneficial()
method_5573()
isBeneficial()
func_188408_i()