net.minecraft.world.entity.ai.attributes

public class AttributeMap

bhb
net.minecraft.world.entity.ai.attributes.AttributeMap
net.minecraft.class_5131
net.minecraft.entity.attribute.AttributeContainer
net.minecraft.src.C_554_
net.minecraft.world.entity.ai.attributes.AttributeMapBase

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_23708
LOGGER
f_22138_
private final Map<Attribute, AttributeInstance>
b
attributes
field_23709
custom
f_22139_
private final Set<AttributeInstance>
c
dirtyAttributes
field_23710
tracked
f_22140_
private final AttributeSupplier
d
supplier
field_23711
fallback
f_22141_

Constructor summary

ModifierConstructor
public (AttributeSupplier defaultAttributes)

Method summary

Modifier and TypeMethod
private void
a(bha arg0)
onAttributeModified(AttributeInstance arg0)
method_26845(class_1324 arg0)
updateTrackedStatus(EntityAttributeInstance instance)
m_22157_(C_553_ arg0)
public Set<AttributeInstance>
a()
getDirtyAttributes()
method_26841()
getTracked()
m_22145_()
public Collection<AttributeInstance>
b()
getSyncableAttributes()
method_26851()
getAttributesToSend()
m_22170_()
public AttributeInstance
a(bgz arg0)
getInstance(Attribute arg0)
method_26842(class_1320 arg0)
getCustomInstance(EntityAttribute attribute)
m_22146_(C_552_ arg0)
public AttributeInstance
a(hd<bgz> arg0)
getInstance(Holder<Attribute> arg0)
method_45329(class_6880<class_1320> arg0)
getCustomInstance(RegistryEntry<EntityAttribute> attribute)
m_246600_(C_203228_<C_552_> arg0)
public boolean
b(bgz arg0)
hasAttribute(Attribute arg0)
method_27306(class_1320 arg0)
hasAttribute(EntityAttribute attribute)
m_22171_(C_552_ arg0)
public boolean
b(hd<bgz> arg0)
hasAttribute(Holder<Attribute> arg0)
method_45331(class_6880<class_1320> arg0)
hasAttribute(RegistryEntry<EntityAttribute> attribute)
m_247503_(C_203228_<C_552_> arg0)
public boolean
a(bgz arg0, UUID arg1)
hasModifier(Attribute arg0, UUID arg1)
method_27305(class_1320 arg0, UUID arg1)
hasModifierForAttribute(EntityAttribute attribute, UUID uuid)
m_22154_(C_552_ p_22156_, UUID arg1)
public boolean
a(hd<bgz> arg0, UUID arg1)
hasModifier(Holder<Attribute> arg0, UUID arg1)
method_45330(class_6880<class_1320> arg0, UUID arg1)
hasModifierForAttribute(RegistryEntry<EntityAttribute> attribute, UUID uuid)
m_245160_(C_203228_<C_552_> p_250415_, UUID arg1)
public double
c(bgz arg0)
getValue(Attribute arg0)
method_26852(class_1320 arg0)
getValue(EntityAttribute attribute)
m_22181_(C_552_ arg0)
public double
d(bgz arg0)
getBaseValue(Attribute arg0)
method_26856(class_1320 arg0)
getBaseValue(EntityAttribute attribute)
m_22185_(C_552_ arg0)
public double
b(bgz arg0, UUID arg1)
getModifierValue(Attribute arg0, UUID arg1)
method_27307(class_1320 arg0, UUID arg1)
getModifierValue(EntityAttribute attribute, UUID uuid)
m_22173_(C_552_ p_22175_, UUID arg1)
public double
b(hd<bgz> arg0, UUID arg1)
getModifierValue(Holder<Attribute> arg0, UUID arg1)
method_45332(class_6880<class_1320> arg0, UUID arg1)
getModifierValue(RegistryEntry<EntityAttribute> attribute, UUID uuid)
m_246117_(C_203228_<C_552_> p_250438_, UUID arg1)
public void
a(com.google.common.collect.Multimap<bgz, bhc> arg0)
removeAttributeModifiers(com.google.common.collect.Multimap<Attribute, AttributeModifier> arg0)
method_26847(com.google.common.collect.Multimap<class_1320, class_1322> arg0)
removeModifiers(com.google.common.collect.Multimap<EntityAttribute, EntityAttributeModifier> attributeModifiers)
m_22161_(com.google.common.collect.Multimap<C_552_, C_555_> arg0)
public void
b(com.google.common.collect.Multimap<bgz, bhc> arg0)
addTransientAttributeModifiers(com.google.common.collect.Multimap<Attribute, AttributeModifier> arg0)
method_26854(com.google.common.collect.Multimap<class_1320, class_1322> arg0)
addTemporaryModifiers(com.google.common.collect.Multimap<EntityAttribute, EntityAttributeModifier> attributeModifiers)
m_22178_(com.google.common.collect.Multimap<C_552_, C_555_> arg0)
public void
a(bhb arg0)
assignValues(AttributeMap arg0)
method_26846(class_5131 arg0)
setFrom(AttributeContainer other)
m_22159_(C_554_ arg0)
public ListTag
c()
save()
method_26855()
toNbt()
m_22180_()
public void
a(rk arg0)
load(ListTag arg0)
method_26850(class_2499 arg0)
readNbt(NbtList nbt)
m_22168_(C_4930_ arg0)