net.minecraft.world.entity.ai.attributes

public class AttributeMap

bwn
net.minecraft.world.entity.ai.attributes.AttributeMap
net.minecraft.class_5131
net.minecraft.unmapped.C_cohbwqne
net.minecraft.entity.attribute.AttributeContainer
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
f_ulfeetgn
LOGGER
LOGGER
f_22138_
private final Map<Holder<Attribute>, AttributeInstance>
b
attributes
field_23709
f_samklskl
custom
custom
f_22139_
private final Set<AttributeInstance>
c
attributesToSync
field_51889
f_fxhnugqm
tracked
pendingSync
f_337611_
private final Set<AttributeInstance>
d
attributesToUpdate
field_51890
f_xwjysvew
pendingUpdate
pendingUpdate
f_336629_
private final AttributeSupplier
e
supplier
field_23711
f_ktubclms
fallback
fallback
f_22141_

Constructor summary

ModifierConstructor
public (AttributeSupplier defaultAttributes)

Method summary

Modifier and TypeMethod
private void
a(bwm arg0)
onAttributeModified(AttributeInstance arg0)
method_26845(class_1324 arg0)
m_zswycxao(C_lzukavpx arg0)
updateTrackedStatus(EntityAttributeInstance instance)
updateTrackedStatus(EntityAttributeInstance instance)
m_22157_(C_553_ arg0)
public Set<AttributeInstance>
a()
getAttributesToSync()
method_60497()
m_kzjivbbd()
getTracked()
getAttributesToSync()
m_340581_()
public Set<AttributeInstance>
b()
getAttributesToUpdate()
method_60498()
m_jhklrcmp()
getPendingUpdate()
getAttributesToUpdate()
m_338778_()
public Collection<AttributeInstance>
c()
getSyncableAttributes()
method_26851()
m_miiadyyh()
getAttributesToSend()
getAttributesToSend()
m_22170_()
public AttributeInstance
a(jr<bwl> arg0)
getInstance(Holder<Attribute> arg0)
method_45329(class_6880<class_1320> arg0)
m_ifykwsrr(C_cjzoxshv<C_ppzfbbsy> arg0)
getCustomInstance(RegistryEntry<EntityAttribute> attribute)
getInstance(Holder<EntityAttribute> attribute)
m_246600_(C_203228_<C_552_> arg0)
public boolean
b(jr<bwl> arg0)
hasAttribute(Holder<Attribute> arg0)
method_45331(class_6880<class_1320> arg0)
m_txvwadfp(C_cjzoxshv<C_ppzfbbsy> arg0)
hasAttribute(RegistryEntry<EntityAttribute> attribute)
hasAttribute(Holder<EntityAttribute> attribute)
m_247503_(C_203228_<C_552_> arg0)
public boolean
a(jr<bwl> arg0, akv arg1)
hasModifier(Holder<Attribute> arg0, ResourceLocation arg1)
method_45330(class_6880<class_1320> arg0, class_2960 arg1)
m_gsorkasz(C_cjzoxshv<C_ppzfbbsy> arg0, C_ncpywfca arg1)
hasModifierForAttribute(RegistryEntry<EntityAttribute> attribute, Identifier id)
getModifier(Holder<EntityAttribute> attribute, Identifier id)
m_245160_(C_203228_<C_552_> p_343661_, C_5265_ arg1)
public double
c(jr<bwl> arg0)
getValue(Holder<Attribute> arg0)
method_26852(class_6880<class_1320> arg0)
m_pzbjebfw(C_cjzoxshv<C_ppzfbbsy> arg0)
getValue(RegistryEntry<EntityAttribute> attribute)
getValue(Holder<EntityAttribute> attribute)
m_22181_(C_203228_<C_552_> arg0)
public double
d(jr<bwl> arg0)
getBaseValue(Holder<Attribute> arg0)
method_26856(class_6880<class_1320> arg0)
m_qtoghhlr(C_cjzoxshv<C_ppzfbbsy> arg0)
getBaseValue(RegistryEntry<EntityAttribute> attribute)
getBaseValue(Holder<EntityAttribute> attribute)
m_22185_(C_203228_<C_552_> arg0)
public double
b(jr<bwl> arg0, akv arg1)
getModifierValue(Holder<Attribute> arg0, ResourceLocation arg1)
method_45332(class_6880<class_1320> arg0, class_2960 arg1)
m_furmwbsi(C_cjzoxshv<C_ppzfbbsy> arg0, C_ncpywfca arg1)
getModifierValue(RegistryEntry<EntityAttribute> attribute, Identifier id)
getModifierValue(Holder<EntityAttribute> attribute, Identifier id)
m_246117_(C_203228_<C_552_> p_343636_, C_5265_ arg1)
public void
a(com.google.common.collect.Multimap<jr<bwl>, bwo> arg0)
addTransientAttributeModifiers(com.google.common.collect.Multimap<Holder<Attribute>, AttributeModifier> arg0)
method_59932(com.google.common.collect.Multimap<class_6880<class_1320>, class_1322> arg0)
m_fkydwjmo(com.google.common.collect.Multimap<C_cjzoxshv<C_ppzfbbsy>, C_hdbqsqsm> arg0)
addTemporaryModifiers(com.google.common.collect.Multimap<RegistryEntry<EntityAttribute>, EntityAttributeModifier> modifiersMap)
addTemporaryModifiers(com.google.common.collect.Multimap<Holder<EntityAttribute>, EntityAttributeModifier> modifiers)
m_338988_(com.google.common.collect.Multimap<C_203228_<C_552_>, C_555_> arg0)
public void
b(com.google.common.collect.Multimap<jr<bwl>, bwo> arg0)
removeAttributeModifiers(com.google.common.collect.Multimap<Holder<Attribute>, AttributeModifier> arg0)
method_59935(com.google.common.collect.Multimap<class_6880<class_1320>, class_1322> arg0)
m_yortiwsq(com.google.common.collect.Multimap<C_cjzoxshv<C_ppzfbbsy>, C_hdbqsqsm> arg0)
removeModifiers(com.google.common.collect.Multimap<RegistryEntry<EntityAttribute>, EntityAttributeModifier> modifiersMap)
removeModifiers(com.google.common.collect.Multimap<Holder<EntityAttribute>, EntityAttributeModifier> modifiers)
m_338497_(com.google.common.collect.Multimap<C_203228_<C_552_>, C_555_> arg0)
public void
a(bwn arg0)
assignAllValues(AttributeMap arg0)
method_26846(class_5131 arg0)
m_qzikslsi(C_cohbwqne arg0)
setFrom(AttributeContainer other)
setValuesFrom(AttributeContainer container)
m_22159_(C_554_ arg0)
public void
b(bwn arg0)
assignBaseValues(AttributeMap arg0)
method_60614(class_5131 arg0)
m_iaixpnqz(C_cohbwqne arg0)
setBaseFrom(AttributeContainer other)
setBaseValuesFrom(AttributeContainer container)
m_339388_(C_554_ arg0)
public void
c(bwn arg0)
assignPermanentModifiers(AttributeMap arg0)
method_61437(class_5131 arg0)
m_vfhqjskx(C_cohbwqne arg0)
addPersistentModifiersFrom(AttributeContainer other)
addPersistentModifiersFrom(AttributeContainer container)
m_355692_(C_554_ arg0)
public boolean
e(jr<bwl> arg0)
resetBaseValue(Holder<Attribute> arg0)
method_65115(class_6880<class_1320> arg0)
m_bkjfkari(C_cjzoxshv<C_ppzfbbsy> arg0)
resetToBaseValue(RegistryEntry<EntityAttribute> attribute)
m_372732_(C_203228_<C_552_> arg0)
public ListTag
d()
save()
method_26855()
m_bfjyjwud()
toNbt()
toNbt()
m_22180_()
public void
a(tw arg0)
load(ListTag arg0)
method_26850(class_2499 arg0)
m_sxuxykrh(C_hqhtfwlr arg0)
readNbt(NbtList nbt)
readNbt(NbtList nbt)
m_22168_(C_4930_ arg0)