net.minecraft.world.entity.ai.attributes

public class AttributeModifier

bnp
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
b
LOGGER
field_23712
LOGGER
f_22189_
public static final com.mojang.serialization.Codec<AttributeModifier>
a
CODEC
field_46247
CODEC
f_303618_
private final double
c
amount
field_6323
value
f_22190_
private final AttributeModifier$Operation
d
operation
field_6324
operation
f_22191_
private final String
e
name
field_46248
name
f_303575_
private final UUID
f
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)

Method summary

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