net.minecraft.world.entity.ai.attributes

public class ModifiableAttributeInstance

implements AttributeInstance

als
net.minecraft.world.entity.ai.attributes.ModifiableAttributeInstance
net.minecraft.class_1328
net.minecraft.entity.attribute.EntityAttributeInstanceImpl
net.minecraft.entity.ai.attributes.ModifiableAttributeInstance
net.minecraft.server.v1_15_R1.AttributeModifiable

Field summary

Modifier and TypeField
private final BaseAttributeMap
a
attributeMap
field_6346
container
field_111138_a
private final Attribute
b
attribute
field_6350
attribute
field_111136_b
private final Map<AttributeModifier$Operation, Set<AttributeModifier>>
c
modifiers
field_6347
modifiersByOperation
field_111137_c
private final Map<String, Set<AttributeModifier>>
d
modifiersByName
field_6345
modifiersByName
field_111134_d
private final Map<UUID, AttributeModifier>
e
modifierById
field_6343
modifiersByUuid
field_111135_e
private double
f
baseValue
field_6349
baseValue
field_111132_f
private boolean
g
dirty
field_6344
needsRefresh
field_111133_g
private double
h
cachedValue
field_6348
cachedValue
field_111139_h

Constructor summary

ModifierConstructor
public (BaseAttributeMap container, Attribute attribute)

Method summary

Modifier and TypeMethod
public Attribute
a()
getAttribute()
method_6198()
getAttribute()
func_111123_a()
getAttribute()
public double
b()
getBaseValue()
method_6201()
getBaseValue()
func_111125_b()
getBaseValue()
public void
a(double arg0)
setBaseValue(double arg0)
method_6192(double arg0)
setBaseValue(double arg0)
func_111128_a(double arg0)
setValue(double arg0)
public Set<AttributeModifier>
a(alp$a arg0)
getModifiers(AttributeModifier$Operation arg0)
method_6193(class_1322$class_1323 arg0)
getModifiers(EntityAttributeModifier$Operation arg0)
func_225504_a_(AttributeModifier$Operation arg0)
public Set<AttributeModifier>
c()
getModifiers()
method_6195()
getModifiers()
func_225505_c_()
getModifiers()
public AttributeModifier
a(UUID arg0)
getModifier(UUID arg0)
method_6199(UUID arg0)
getModifier(UUID arg0)
func_111127_a(UUID arg0)
public boolean
a(alp arg0)
hasModifier(AttributeModifier arg0)
method_6196(class_1322 arg0)
hasModifier(EntityAttributeModifier arg0)
func_180374_a(AttributeModifier arg0)
public void
b(alp arg0)
addModifier(AttributeModifier arg0)
method_6197(class_1322 arg0)
addModifier(EntityAttributeModifier arg0)
func_111121_a(AttributeModifier arg0)
addModifier(AttributeModifier arg0)
protected void
f()
setDirty()
method_6217()
invalidateCache()
func_111131_f()
public void
c(alp arg0)
removeModifier(AttributeModifier arg0)
method_6202(class_1322 arg0)
removeModifier(EntityAttributeModifier arg0)
func_111124_b(AttributeModifier arg0)
removeModifier(AttributeModifier arg0)
public void
b(UUID arg0)
removeModifier(UUID arg0)
method_6200(UUID arg0)
removeModifier(UUID arg0)
func_188479_b(UUID arg0)
public double
e()
getValue()
method_6194()
getValue()
func_111126_e()
getValue()
private double
g()
calculateValue()
method_6220()
computeValue()
func_111129_g()
private Collection<AttributeModifier>
b(alp$a arg0)
getAppliedModifiers(AttributeModifier$Operation arg0)
method_6218(class_1322$class_1323 arg0)
getAllModifiers(EntityAttributeModifier$Operation operation)
func_220370_b(AttributeModifier$Operation arg0)
public void
d()
removeModifiers()
method_6203()
clearModifiers()
func_142049_d()