net.minecraft.world.item.enchantment.effects

public record EnchantmentAttributeEffect

implements EnchantmentLocationBasedEffect

ddq
net.minecraft.world.item.enchantment.effects.EnchantmentAttributeEffect
net.minecraft.class_9720
net.minecraft.unmapped.C_kyhkwlnd
net.minecraft.enchantment.effect.AttributeEnchantmentEffect
net.minecraft.enchantment.effect.EnchantmentAttribute
net.minecraft.src.C_336593_
net.minecraft.world.item.enchantment.effects.EnchantmentAttributeEffect

Field summary

Modifier and TypeField
private final ResourceLocation
b
id
comp_2839
f_nbjnadyx
id
id
f_337022_
private final Holder<Attribute>
d
attribute
comp_2718
f_jijznxud
attribute
attribute
f_337199_
private final LevelBasedValue
e
amount
comp_2719
f_fmukdrnd
amount
amount
f_336750_
private final AttributeModifier$Operation
f
operation
comp_2720
f_ohxupxiz
operation
operation
f_336935_
public static final com.mojang.serialization.MapCodec<EnchantmentAttributeEffect>
a
CODEC
field_51706
f_fwchecqe
CODEC
CODEC
f_336678_

Constructor summary

ModifierConstructor
public (ResourceLocation id, Holder<Attribute> attribute, LevelBasedValue amount, AttributeModifier$Operation operation)

Method summary

Modifier and TypeMethod
private ResourceLocation
a(azv arg0)
idForSlot(StringRepresentable arg0)
method_60769(class_3542 arg0)
m_oubjchng(C_lgkqzafw arg0)
getModifierId(StringIdentifiable suffix)
getModifierId(StringIdentifiable suffix)
m_339896_(C_197_ arg0)
public AttributeModifier
a(int arg0, azv arg1)
getModifier(int arg0, StringRepresentable arg1)
method_60228(int arg0, class_3542 arg1)
m_sepzipgo(int arg0, C_lgkqzafw arg1)
createAttributeModifier(int value, StringIdentifiable suffix)
createModifier(int arg0, StringIdentifiable suffix)
m_338573_(int p_342150_, C_197_ arg1)
public void
a(ard arg0, int arg1, dcz arg2, bum arg3, fbb arg4, boolean arg5)
onChangedBlock(ServerLevel arg0, int arg1, EnchantedItemInUse arg2, Entity arg3, Vec3 arg4, boolean arg5)
method_60221(class_3218 arg0, int arg1, class_9699 arg2, class_1297 arg3, class_243 arg4, boolean arg5)
m_lgpocvjg(C_bdwnwhiu arg0, int arg1, C_pjrjvgrp arg2, C_astfners arg3, C_vgpupfxx arg4, boolean arg5)
apply(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d arg4, boolean arg5)
onChangedBlock(ServerWorld arg0, int arg1, EnchantmentEffectContext arg2, Entity arg3, Vec3d arg4, boolean arg5)
m_339697_(C_12_ p_343426_, int p_344251_, C_336528_ p_342367_, C_507_ p_343372_, C_3046_ p_342530_, boolean arg5)
public void
a(dcz arg0, bum arg1, fbb arg2, int arg3)
onDeactivated(EnchantedItemInUse arg0, Entity arg1, Vec3 arg2, int arg3)
method_60222(class_9699 arg0, class_1297 arg1, class_243 arg2, int arg3)
m_ginukglu(C_pjrjvgrp arg0, C_astfners arg1, C_vgpupfxx arg2, int arg3)
remove(EnchantmentEffectContext arg0, Entity arg1, Vec3d arg2, int arg3)
onDeactivated(EnchantmentEffectContext arg0, Entity arg1, Vec3d arg2, int arg3)
m_338378_(C_336528_ p_343519_, C_507_ p_342547_, C_3046_ p_343187_, int arg3)
private com.google.common.collect.HashMultimap<Holder<Attribute>, AttributeModifier>
a(int arg0, buu arg1)
makeAttributeMap(int arg0, EquipmentSlot arg1)
method_60230(int arg0, class_1304 arg1)
m_jyeewvnp(int arg0, C_yuycoehb arg1)
getModifiers(int level, EquipmentSlot slot)
createAttributeMap(int arg0, EquipmentSlot suffix)
m_339104_(int p_343561_, C_516_ arg1)
public com.mojang.serialization.MapCodec<EnchantmentAttributeEffect>
a()
codec()
method_60219()
m_kqdonpeg()
getCodec()
getCodec()
m_338403_()
public ResourceLocation
b()
id()
comp_2839()
m_savthuyz()
id()
id()
f_337022_()
public Holder<Attribute>
c()
attribute()
comp_2718()
m_rcgmyopd()
attribute()
attribute()
f_337199_()
public LevelBasedValue
d()
amount()
comp_2719()
m_rzkaoblh()
amount()
amount()
f_336750_()
public AttributeModifier$Operation
e()
operation()
comp_2720()
m_rkialbtk()
operation()
operation()
f_336935_()