net.minecraft.world.item.enchantment

public record LevelBasedValue$Constant

implements LevelBasedValue

ddh$b
net.minecraft.world.item.enchantment.LevelBasedValue$Constant
net.minecraft.class_9704$class_9706
net.minecraft.enchantment.EnchantmentLevelBasedValue$Constant
net.minecraft.world.item.enchantment.LevelBasedValue$b

Field summary

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

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)
public com.mojang.serialization.MapCodec<LevelBasedValue$Constant>
a()
codec()
method_60185()
getCodec()
public float
b()
value()
comp_2694()
value()