net.minecraft.world.entity.ai.attributes

public class AttributeSupplier

bwp
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(jr<bwl> arg0)
getAttributeInstance(Holder<Attribute> arg0)
method_26865(class_6880<class_1320> arg0)
require(RegistryEntry<EntityAttribute> attribute)
public double
a(jr<bwl> arg0)
getValue(Holder<Attribute> arg0)
method_26862(class_6880<class_1320> arg0)
getValue(RegistryEntry<EntityAttribute> attribute)
public double
b(jr<bwl> arg0)
getBaseValue(Holder<Attribute> arg0)
method_26864(class_6880<class_1320> arg0)
getBaseValue(RegistryEntry<EntityAttribute> attribute)
public double
a(jr<bwl> arg0, akv 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<bwm> arg0, jr<bwl> 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(jr<bwl> arg0)
hasAttribute(Holder<Attribute> arg0)
method_27310(class_6880<class_1320> arg0)
has(RegistryEntry<EntityAttribute> attribute)
public boolean
b(jr<bwl> arg0, akv arg1)
hasModifier(Holder<Attribute> arg0, ResourceLocation arg1)
method_27309(class_6880<class_1320> arg0, class_2960 arg1)
hasModifier(RegistryEntry<EntityAttribute> attribute, Identifier id)