net.minecraft.world.entity.ai.attributes

public record AttributeModifier

bwo
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 ResourceLocation
d
id
comp_2447
f_hdbjrwxm
id
id
f_22193_
private final double
e
amount
comp_2449
f_xnuocnxu
value
value
f_22190_
private final AttributeModifier$Operation
f
operation
comp_2450
f_wcmcuppa
operation
operation
f_22191_
private static final org.slf4j.Logger
g
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 (ResourceLocation id, 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(tq 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 boolean
a(akv arg0)
is(ResourceLocation arg0)
method_60718(class_2960 arg0)
m_uwuvpbaf(C_ncpywfca arg0)
idMatches(Identifier id)
matches(Identifier id)
m_340419_(C_5265_ arg0)
public ResourceLocation
b()
id()
comp_2447()
m_ywspgsys()
id()
id()
f_22193_()
public double
c()
amount()
comp_2449()
m_suxwenkg()
value()
amount()
f_22190_()
public AttributeModifier$Operation
d()
operation()
comp_2450()
m_mnnmdcbl()
operation()
operation()
f_22191_()