net.minecraft.world.item.enchantment

public record LevelBasedValue$Linear

implements LevelBasedValue

deg$e
net.minecraft.world.item.enchantment.LevelBasedValue$Linear
net.minecraft.class_9704$class_9709
net.minecraft.enchantment.EnchantmentLevelBasedValue$Linear
net.minecraft.world.item.enchantment.LevelBasedValue$e

Field summary

Modifier and TypeField
private final float
d
base
comp_2698
base
private final float
e
perLevelAboveFirst
comp_2699
perLevelAboveFirst
public static final com.mojang.serialization.MapCodec<LevelBasedValue$Linear>
c
CODEC
field_51696
CODEC

Constructor summary

ModifierConstructor
public (float arg0, float arg1)

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$Linear>
a()
codec()
method_60185()
getCodec()
public float
b()
base()
comp_2698()
base()
public float
c()
perLevelAboveFirst()
comp_2699()
perLevelAboveFirst()