Class AttributeMap
java.lang.Object
net.minecraft.world.entity.ai.attributes.AttributeMap
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Map
<Holder<Attribute>, AttributeInstance> private final Set
<AttributeInstance> private static final org.slf4j.Logger
private final AttributeSupplier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignValues
(AttributeMap p_22160_) double
getBaseValue
(Holder<Attribute> p_316270_) getInstance
(Holder<Attribute> p_250010_) double
getModifierValue
(Holder<Attribute> p_251534_, UUID p_250438_) double
boolean
hasAttribute
(Holder<Attribute> p_248893_) boolean
hasModifier
(Holder<Attribute> p_250299_, UUID p_250415_) void
private void
onAttributeModified
(AttributeInstance p_22158_) save()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
attributes
-
dirtyAttributes
-
supplier
-
-
Constructor Details
-
AttributeMap
-
-
Method Details
-
onAttributeModified
-
getDirtyAttributes
-
getSyncableAttributes
-
getInstance
-
hasAttribute
-
hasModifier
-
getValue
-
getBaseValue
-
getModifierValue
-
assignValues
-
save
-
load
-