net.minecraft.world.item.enchantment.effects

public record SetValue

implements EnchantmentValueEffect

dfc
net.minecraft.world.item.enchantment.effects.SetValue
net.minecraft.class_9733
net.minecraft.enchantment.effect.value.SetEnchantmentEffect
net.minecraft.world.item.enchantment.effects.SetValue

Field summary

Modifier and TypeField
private final LevelBasedValue
c
value
comp_2750
value
public static final com.mojang.serialization.MapCodec<SetValue>
a
CODEC
field_51720
CODEC

Constructor summary

ModifierConstructor
public (LevelBasedValue arg0)

Method summary

Modifier and TypeMethod
public float
a(int arg0, bam 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)
public com.mojang.serialization.MapCodec<SetValue>
a()
codec()
method_60211()
getCodec()
public LevelBasedValue
b()
value()
comp_2750()
value()