net.minecraft.world.entity.ai.attributes

public class AttributeMap

bwn
net.minecraft.world.entity.ai.attributes.AttributeMap
net.minecraft.class_5131
net.minecraft.entity.attribute.AttributeContainer
net.minecraft.world.entity.ai.attributes.AttributeMapBase

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_23708
LOGGER
private final Map<Holder<Attribute>, AttributeInstance>
b
attributes
field_23709
custom
private final Set<AttributeInstance>
c
attributesToSync
field_51889
tracked
private final Set<AttributeInstance>
d
attributesToUpdate
field_51890
pendingUpdate
private final AttributeSupplier
e
supplier
field_23711
fallback

Constructor summary

ModifierConstructor
public (AttributeSupplier defaultAttributes)

Method summary

Modifier and TypeMethod
private void
a(bwm arg0)
onAttributeModified(AttributeInstance arg0)
method_26845(class_1324 arg0)
updateTrackedStatus(EntityAttributeInstance instance)
public Set<AttributeInstance>
a()
getAttributesToSync()
method_60497()
getTracked()
public Set<AttributeInstance>
b()
getAttributesToUpdate()
method_60498()
getPendingUpdate()
public Collection<AttributeInstance>
c()
getSyncableAttributes()
method_26851()
getAttributesToSend()
public AttributeInstance
a(jr<bwl> arg0)
getInstance(Holder<Attribute> arg0)
method_45329(class_6880<class_1320> arg0)
getCustomInstance(RegistryEntry<EntityAttribute> attribute)
public boolean
b(jr<bwl> arg0)
hasAttribute(Holder<Attribute> arg0)
method_45331(class_6880<class_1320> arg0)
hasAttribute(RegistryEntry<EntityAttribute> attribute)
public boolean
a(jr<bwl> arg0, akv arg1)
hasModifier(Holder<Attribute> arg0, ResourceLocation arg1)
method_45330(class_6880<class_1320> arg0, class_2960 arg1)
hasModifierForAttribute(RegistryEntry<EntityAttribute> attribute, Identifier id)
public double
c(jr<bwl> arg0)
getValue(Holder<Attribute> arg0)
method_26852(class_6880<class_1320> arg0)
getValue(RegistryEntry<EntityAttribute> attribute)
public double
d(jr<bwl> arg0)
getBaseValue(Holder<Attribute> arg0)
method_26856(class_6880<class_1320> arg0)
getBaseValue(RegistryEntry<EntityAttribute> attribute)
public double
b(jr<bwl> arg0, akv arg1)
getModifierValue(Holder<Attribute> arg0, ResourceLocation arg1)
method_45332(class_6880<class_1320> arg0, class_2960 arg1)
getModifierValue(RegistryEntry<EntityAttribute> attribute, Identifier id)
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)
addTemporaryModifiers(com.google.common.collect.Multimap<RegistryEntry<EntityAttribute>, EntityAttributeModifier> modifiersMap)
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)
removeModifiers(com.google.common.collect.Multimap<RegistryEntry<EntityAttribute>, EntityAttributeModifier> modifiersMap)
public void
a(bwn arg0)
assignAllValues(AttributeMap arg0)
method_26846(class_5131 arg0)
setFrom(AttributeContainer other)
public void
b(bwn arg0)
assignBaseValues(AttributeMap arg0)
method_60614(class_5131 arg0)
setBaseFrom(AttributeContainer other)
public void
c(bwn arg0)
assignPermanentModifiers(AttributeMap arg0)
method_61437(class_5131 arg0)
addPersistentModifiersFrom(AttributeContainer other)
public boolean
e(jr<bwl> arg0)
resetBaseValue(Holder<Attribute> arg0)
method_65115(class_6880<class_1320> arg0)
resetToBaseValue(RegistryEntry<EntityAttribute> attribute)
public ListTag
d()
save()
method_26855()
toNbt()
public void
a(tw arg0)
load(ListTag arg0)
method_26850(class_2499 arg0)
readNbt(NbtList nbt)