net.minecraft.world.item.enchantment

public record LevelBasedValue$Constant

implements LevelBasedValue

daj$b
net.minecraft.world.item.enchantment.LevelBasedValue$Constant
net.minecraft.class_9704$class_9706
net.minecraft.enchantment.EnchantmentLevelBasedValue$Constant
net.minecraft.src.C_336443_$C_336591_
net.minecraft.world.item.enchantment.LevelBasedValue$b

Field summary

Modifier and TypeField
private final float
e
value
comp_2694
value
f_336981_
public static final com.mojang.serialization.Codec<LevelBasedValue$Constant>
c
CODEC
field_51692
CODEC
f_337366_
public static final com.mojang.serialization.MapCodec<LevelBasedValue$Constant>
d
TYPED_CODEC
field_51693
TYPE_CODEC
f_337647_

Constructor summary

ModifierConstructor
public (float arg0)

Method summary

Modifier and TypeMethod
public float
a(int arg0)
calculate(int arg0)
method_60188(int arg0)
getValue(int arg0)
m_338646_(int arg0)
public com.mojang.serialization.MapCodec<LevelBasedValue$Constant>
a()
codec()
method_60185()
getCodec()
m_338690_()
public float
b()
value()
comp_2694()
value()
f_336981_()