net.minecraft.world.entity.ai.attributes

public class AttributeSupplier

bxn
net.minecraft.world.entity.ai.attributes.AttributeSupplier
net.minecraft.class_5132
net.minecraft.entity.attribute.DefaultAttributeContainer
net.minecraft.world.entity.ai.attributes.AttributeProvider

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private AttributeInstance
d(jq<bxj> arg0)
getAttributeInstance(Holder<Attribute> arg0)
method_26865(class_6880<class_1320> arg0)
require(RegistryEntry<EntityAttribute> attribute)
public double
a(jq<bxj> arg0)
getValue(Holder<Attribute> arg0)
method_26862(class_6880<class_1320> arg0)
getValue(RegistryEntry<EntityAttribute> attribute)
public double
b(jq<bxj> arg0)
getBaseValue(Holder<Attribute> arg0)
method_26864(class_6880<class_1320> arg0)
getBaseValue(RegistryEntry<EntityAttribute> attribute)
public double
a(jq<bxj> arg0, alz arg1)
getModifierValue(Holder<Attribute> arg0, ResourceLocation arg1)
method_27308(class_6880<class_1320> arg0, class_2960 arg1)
getModifierValue(RegistryEntry<EntityAttribute> attribute, Identifier id)
public AttributeInstance
a(Consumer<bxk> arg0, jq<bxj> 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)
public static AttributeSupplier$Builder
a()
builder()
method_26861()
builder()
public boolean
c(jq<bxj> arg0)
hasAttribute(Holder<Attribute> arg0)
method_27310(class_6880<class_1320> arg0)
has(RegistryEntry<EntityAttribute> attribute)
public boolean
b(jq<bxj> arg0, alz arg1)
hasModifier(Holder<Attribute> arg0, ResourceLocation arg1)
method_27309(class_6880<class_1320> arg0, class_2960 arg1)
hasModifier(RegistryEntry<EntityAttribute> attribute, Identifier id)