net.minecraft.world.entity.ai.attributes

public class AttributeSupplier

ark
net.minecraft.world.entity.ai.attributes.AttributeSupplier
net.minecraft.class_5132
net.minecraft.entity.attribute.DefaultAttributeContainer
net.minecraft.entity.ai.attributes.AttributeModifierMap
net.minecraft.server.v1_16_R3.AttributeProvider

Field summary

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

Constructor summary

ModifierConstructor
public (Map<Attribute, AttributeInstance> instances)

Method summary

Modifier and TypeMethod
private AttributeInstance
d(arg arg0)
getAttributeInstance(Attribute arg0)
method_26865(class_1320 arg0)
require(EntityAttribute attribute)
func_233810_d_(Attribute arg0)
public double
a(arg arg0)
getValue(Attribute arg0)
method_26862(class_1320 arg0)
getValue(EntityAttribute attribute)
func_233804_a_(Attribute arg0)
public double
b(arg arg0)
getBaseValue(Attribute arg0)
method_26864(class_1320 arg0)
getBaseValue(EntityAttribute attribute)
func_233807_b_(Attribute arg0)
public double
a(arg arg0, UUID arg1)
getModifierValue(Attribute arg0, UUID arg1)
method_27308(class_1320 arg0, UUID arg1)
getModifierValue(EntityAttribute attribute, UUID uuid)
func_233805_a_(Attribute arg0, UUID arg1)
public AttributeInstance
a(Consumer<arh> arg0, arg arg1)
createInstance(Consumer<AttributeInstance> arg0, Attribute arg1)
method_26863(Consumer<class_1324> arg0, class_1320 arg1)
createOverride(Consumer<EntityAttributeInstance> updateCallback, EntityAttribute attribute)
func_233806_a_(Consumer<ModifiableAttributeInstance> arg0, Attribute arg1)
public static AttributeSupplier$Builder
a()
builder()
method_26861()
builder()
func_233803_a_()
public boolean
c(arg arg0)
hasAttribute(Attribute arg0)
method_27310(class_1320 arg0)
has(EntityAttribute type)
func_233809_c_(Attribute arg0)
public boolean
b(arg arg0, UUID arg1)
hasModifier(Attribute arg0, UUID arg1)
method_27309(class_1320 arg0, UUID arg1)
hasModifier(EntityAttribute type, UUID uuid)
func_233808_b_(Attribute arg0, UUID arg1)