net.minecraft.world.item.enchantment.effects

public record AddValue

implements EnchantmentValueEffect

dal
net.minecraft.world.item.enchantment.effects.AddValue
net.minecraft.class_9711
net.minecraft.enchantment.effect.value.AddEnchantmentEffect
net.minecraft.src.C_336483_
net.minecraft.world.item.enchantment.effects.AddValue

Field summary

Modifier and TypeField
private final LevelBasedValue
c
value
comp_2704
value
f_337036_
public static final com.mojang.serialization.MapCodec<AddValue>
a
CODEC
field_51697
CODEC
f_337569_

Constructor summary

ModifierConstructor
public (LevelBasedValue arg0)

Method summary

Modifier and TypeMethod
public float
a(int arg0, ayw arg1, float arg2)
process(int arg0, RandomSource arg1, float arg2)
method_60213(int arg0, class_5819 arg1, float arg2)
apply(int arg0, Random arg1, float arg2)
m_338465_(int p_342107_, C_212974_ p_343617_, float arg2)
public com.mojang.serialization.MapCodec<AddValue>
a()
codec()
method_60211()
getCodec()
m_338751_()
public LevelBasedValue
b()
value()
comp_2704()
value()
f_337036_()