net.minecraft.world.entity.ai.attributes

public class AttributeSupplier

bnq
net.minecraft.world.entity.ai.attributes.AttributeSupplier
net.minecraft.class_5132
net.minecraft.entity.attribute.DefaultAttributeContainer
net.minecraft.src.C_557_
net.minecraft.world.entity.ai.attributes.AttributeProvider

Field summary

Modifier and TypeField
private final Map<Attribute, AttributeInstance>
a
instances
field_23713
instances
f_22241_

Constructor summary

ModifierConstructor
public (Map<Attribute, AttributeInstance> instances)

Method summary

Modifier and TypeMethod
private AttributeInstance
d(bnm arg0)
getAttributeInstance(Attribute arg0)
method_26865(class_1320 arg0)
require(EntityAttribute attribute)
m_22260_(C_552_ arg0)
public double
a(bnm arg0)
getValue(Attribute arg0)
method_26862(class_1320 arg0)
getValue(EntityAttribute attribute)
m_22245_(C_552_ arg0)
public double
b(bnm arg0)
getBaseValue(Attribute arg0)
method_26864(class_1320 arg0)
getBaseValue(EntityAttribute attribute)
m_22253_(C_552_ arg0)
public double
a(bnm arg0, UUID arg1)
getModifierValue(Attribute arg0, UUID arg1)
method_27308(class_1320 arg0, UUID arg1)
getModifierValue(EntityAttribute attribute, UUID uuid)
m_22247_(C_552_ p_22249_, UUID arg1)
public AttributeInstance
a(Consumer<bnn> arg0, bnm arg1)
createInstance(Consumer<AttributeInstance> arg0, Attribute arg1)
method_26863(Consumer<class_1324> arg0, class_1320 arg1)
createOverride(Consumer<EntityAttributeInstance> updateCallback, EntityAttribute attribute)
m_22250_(Consumer<C_553_> p_22252_, C_552_ arg1)
public static AttributeSupplier$Builder
a()
builder()
method_26861()
builder()
m_22244_()
public boolean
c(bnm arg0)
hasAttribute(Attribute arg0)
method_27310(class_1320 arg0)
has(EntityAttribute type)
m_22258_(C_552_ arg0)
public boolean
b(bnm arg0, UUID arg1)
hasModifier(Attribute arg0, UUID arg1)
method_27309(class_1320 arg0, UUID arg1)
hasModifier(EntityAttribute type, UUID uuid)
m_22255_(C_552_ p_22257_, UUID arg1)