net.minecraft.entity.living.attribute

public class ModifiableEntityAttributeInstance

implements EntityAttributeInstance

tn
net.minecraft.class_1707
net.minecraft.entity.living.attribute.ModifiableEntityAttributeInstance
net.minecraft.entity.ai.attributes.ModifiableAttributeInstance

Field summary

Modifier and TypeField
private final AbstractEntityAttributeContainer
a
field_6822
container
attributeMap
private final EntityAttribute
b
field_6823
attribute
genericAttribute
private final Map
c
field_6824
modifiersByOperation
mapByOperation
private final Map
d
field_6825
modifiersByName
mapByName
private final Map
e
field_6826
modifiersById
mapByUUID
private double
f
field_6827
base
baseValue
private boolean
g
field_6828
dirty
needsUpdate
private double
h
field_6829
value
cachedValue

Constructor summary

ModifierConstructor
public (AbstractEntityAttributeContainer container, EntityAttribute attribute)

Method summary

Modifier and TypeMethod
public EntityAttribute
a()
method_6188()
getAttribute()
getAttribute()
public double
b()
method_6192()
getBase()
getBaseValue()
public void
a(double arg0)
method_6189(double arg0)
setBase(double arg0)
setBaseValue(double arg0)
public Collection
a(int arg0)
method_6211(int arg0)
getModifiers(int operation)
getModifiersByOperation(int arg0)
public Collection
c()
method_6194()
getModifiers()
func_111122_c()
public AttributeModifier
a(UUID arg0)
method_6190(UUID arg0)
getModifier(UUID arg0)
getModifier(UUID arg0)
public void
a(tj arg0)
method_6191(class_1704 arg0)
addModifier(AttributeModifier arg0)
applyModifier(AttributeModifier arg0)
private void
f()
method_6212()
markDirty()
flagForUpdate()
public void
b(tj arg0)
method_6193(class_1704 arg0)
removeModifier(AttributeModifier arg0)
removeModifier(AttributeModifier arg0)
public double
e()
method_6196()
get()
getAttributeValue()
private double
g()
method_6213()
computeValue()
computeValue()
public void
d()
method_6195()
clearModifiers()
removeAllModifiers()