net.minecraft.world.entity.ai.attributes

public class AttributeSupplier

buv
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<Holder<Attribute>, AttributeInstance>
a
instances
field_23713
instances
f_22241_

Constructor summary

ModifierConstructor
(Map<Holder<Attribute>, AttributeInstance> instances)

Method summary

Modifier and TypeMethod
private AttributeInstance
d(jm<bur> arg0)
getAttributeInstance(Holder<Attribute> arg0)
method_26865(class_6880<class_1320> arg0)
require(RegistryEntry<EntityAttribute> attribute)
m_22260_(C_203228_<C_552_> arg0)
public double
a(jm<bur> arg0)
getValue(Holder<Attribute> arg0)
method_26862(class_6880<class_1320> arg0)
getValue(RegistryEntry<EntityAttribute> attribute)
m_22245_(C_203228_<C_552_> arg0)
public double
b(jm<bur> arg0)
getBaseValue(Holder<Attribute> arg0)
method_26864(class_6880<class_1320> arg0)
getBaseValue(RegistryEntry<EntityAttribute> attribute)
m_22253_(C_203228_<C_552_> arg0)
public double
a(jm<bur> arg0, akr arg1)
getModifierValue(Holder<Attribute> arg0, ResourceLocation arg1)
method_27308(class_6880<class_1320> arg0, class_2960 arg1)
getModifierValue(RegistryEntry<EntityAttribute> attribute, Identifier id)
m_22247_(C_203228_<C_552_> p_344356_, C_5265_ arg1)
public AttributeInstance
a(Consumer<bus> arg0, jm<bur> arg1)
createInstance(Consumer<AttributeInstance> arg0, Holder<Attribute> arg1)
method_26863(Consumer<class_1324> arg0, class_6880<class_1320> arg1)
createOverride(Consumer<EntityAttributeInstance> updateCallback, RegistryEntry<EntityAttribute> attribute)
m_22250_(Consumer<C_553_> p_333997_, C_203228_<C_552_> arg1)
public static AttributeSupplier$Builder
a()
builder()
method_26861()
builder()
m_22244_()
public boolean
c(jm<bur> arg0)
hasAttribute(Holder<Attribute> arg0)
method_27310(class_6880<class_1320> arg0)
has(RegistryEntry<EntityAttribute> attribute)
m_22258_(C_203228_<C_552_> arg0)
public boolean
b(jm<bur> arg0, akr arg1)
hasModifier(Holder<Attribute> arg0, ResourceLocation arg1)
method_27309(class_6880<class_1320> arg0, class_2960 arg1)
hasModifier(RegistryEntry<EntityAttribute> attribute, Identifier id)
m_22255_(C_203228_<C_552_> p_343659_, C_5265_ arg1)