net.minecraft.world.entity.ai.attributes

public class AttributeModifier

bdb
net.minecraft.world.entity.ai.attributes.AttributeModifier
net.minecraft.class_1322
net.minecraft.entity.attribute.EntityAttributeModifier
net.minecraft.src.C_555_
net.minecraft.world.entity.ai.attributes.AttributeModifier

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_23712
LOGGER
f_22189_
private final double
b
amount
field_6323
value
f_22190_
private final AttributeModifier$Operation
c
operation
field_6324
operation
f_22191_
private final Supplier<String>
d
nameGetter
field_6326
nameGetter
f_22192_
private final UUID
e
id
field_6327
uuid
f_22193_

Constructor summary

ModifierConstructor
public (String name, double value, AttributeModifier$Operation operation)
public (UUID uuid, String name, double value, AttributeModifier$Operation operation)
public (UUID uuid, Supplier<String> nameGetter, double value, AttributeModifier$Operation operation)

Method summary

Modifier and TypeMethod
public UUID
a()
getId()
method_6189()
getId()
m_22209_()
public String
b()
getName()
method_6185()
getName()
m_22214_()
public AttributeModifier$Operation
c()
getOperation()
method_6182()
getOperation()
m_22217_()
public double
d()
getAmount()
method_6186()
getValue()
m_22218_()
public CompoundTag
e()
save()
method_26860()
toNbt()
m_22219_()
public static AttributeModifier
a(pj arg0)
load(CompoundTag arg0)
method_26859(class_2487 arg0)
fromNbt(NbtCompound nbt)
m_22212_(C_4917_ p_22213_)