net.minecraft.world.entity.ai.attributes

public record AttributeModifier

bux
net.minecraft.world.entity.ai.attributes.AttributeModifier
net.minecraft.class_1322
net.minecraft.unmapped.C_hdbqsqsm
net.minecraft.entity.attribute.EntityAttributeModifier
net.minecraft.entity.attribute.EntityAttributeModifier
net.minecraft.src.C_555_
net.minecraft.world.entity.ai.attributes.AttributeModifier

Field summary

Modifier and TypeField
private final UUID
d
id
comp_2447
f_hdbjrwxm
uuid
uuid
f_22193_
private final String
e
name
comp_2448
f_diqvdnfg
name
name
f_303575_
private final double
f
amount
comp_2449
f_xnuocnxu
value
value
f_22190_
private final AttributeModifier$Operation
g
operation
comp_2450
f_wcmcuppa
operation
operation
f_22191_
private static final org.slf4j.Logger
h
LOGGER
field_23712
f_owzzukjv
LOGGER
LOGGER
f_22189_
public static final com.mojang.serialization.MapCodec<AttributeModifier>
a
MAP_CODEC
field_49232
f_bfacrmpa
MAP_CODEC
MAP_CODEC
f_316599_
public static final com.mojang.serialization.Codec<AttributeModifier>
b
CODEC
field_46247
f_qcjtagbu
CODEC
CODEC
f_303618_
public static final StreamCodec<io.netty.buffer.ByteBuf, AttributeModifier>
c
STREAM_CODEC
field_49233
f_slcgssqv
PACKET_CODEC
PACKET_CODEC
f_315334_

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 CompoundTag
a()
save()
method_26860()
m_svfezfmf()
toNbt()
toNbt()
m_22219_()
public static AttributeModifier
a(us arg0)
load(CompoundTag arg0)
method_26859(class_2487 arg0)
m_fqbtxzed(C_hhlwcnih arg0)
fromNbt(NbtCompound nbt)
fromNbt(NbtCompound nbt)
m_22212_(C_4917_ p_22213_)
public UUID
b()
id()
comp_2447()
m_ywspgsys()
uuid()
id()
f_22193_()
public String
c()
name()
comp_2448()
m_qvhpnekr()
name()
name()
f_303575_()
public double
d()
amount()
comp_2449()
m_suxwenkg()
value()
amount()
f_22190_()
public AttributeModifier$Operation
e()
operation()
comp_2450()
m_mnnmdcbl()
operation()
operation()
f_22191_()