net.minecraft.world.entity.ai.attributes

public class AttributeMap

arf
net.minecraft.world.entity.ai.attributes.AttributeMap
net.minecraft.class_5131
net.minecraft.entity.attribute.AttributeContainer
net.minecraft.entity.ai.attributes.AttributeModifierManager
net.minecraft.server.v1_16_R2.AttributeMapBase

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_23708
LOGGER
field_233774_a_
private final Map<Attribute, AttributeInstance>
b
attributes
field_23709
custom
field_233775_b_
private final Set<AttributeInstance>
c
dirtyAttributes
field_23710
tracked
field_233776_c_
private final AttributeSupplier
d
supplier
field_23711
fallback
field_233777_d_

Constructor summary

ModifierConstructor
public (AttributeSupplier defaultAttributes)

Method summary

Modifier and TypeMethod
private void
a(are arg0)
onAttributeModified(AttributeInstance arg0)
method_26845(class_1324 arg0)
updateTrackedStatus(EntityAttributeInstance instance)
func_233783_a_(ModifiableAttributeInstance arg0)
public Set<AttributeInstance>
a()
getDirtyAttributes()
method_26841()
getTracked()
func_233778_a_()
getAttributes()
public Collection<AttributeInstance>
b()
getSyncableAttributes()
method_26851()
getAttributesToSend()
func_233789_b_()
public AttributeInstance
a(ard arg0)
getInstance(Attribute arg0)
method_26842(class_1320 arg0)
getCustomInstance(EntityAttribute attribute)
func_233779_a_(Attribute arg0)
public boolean
b(ard arg0)
hasAttribute(Attribute arg0)
method_27306(class_1320 arg0)
hasAttribute(EntityAttribute attribute)
func_233790_b_(Attribute arg0)
public boolean
a(ard arg0, UUID arg1)
hasModifier(Attribute arg0, UUID arg1)
method_27305(class_1320 arg0, UUID arg1)
hasModifierForAttribute(EntityAttribute attribute, UUID uuid)
func_233782_a_(Attribute arg0, UUID arg1)
public double
c(ard arg0)
getValue(Attribute arg0)
method_26852(class_1320 arg0)
getValue(EntityAttribute attribute)
func_233795_c_(Attribute arg0)
public double
d(ard arg0)
getBaseValue(Attribute arg0)
method_26856(class_1320 arg0)
getBaseValue(EntityAttribute attribute)
func_233797_d_(Attribute arg0)
public double
b(ard arg0, UUID arg1)
getModifierValue(Attribute arg0, UUID arg1)
method_27307(class_1320 arg0, UUID arg1)
getModifierValue(EntityAttribute attribute, UUID uuid)
func_233791_b_(Attribute arg0, UUID arg1)
public void
a(com.google.common.collect.Multimap<ard, arg> 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)
func_233785_a_(com.google.common.collect.Multimap<Attribute, AttributeModifier> arg0)
public void
b(com.google.common.collect.Multimap<ard, arg> 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)
func_233793_b_(com.google.common.collect.Multimap<Attribute, AttributeModifier> arg0)
public ListTag
c()
save()
method_26855()
toTag()
func_233794_c_()
public void
a(mj arg0)
load(ListTag arg0)
method_26850(class_2499 arg0)
fromTag(ListTag tag)
func_233788_a_(ListNBT arg0)
public void
a(arf arg0)
assignValues(AttributeMap arg0)
method_26846(class_5131 arg0)
setFrom(AttributeContainer other)
func_233784_a_(AttributeModifierManager arg0)