net.minecraft.world.item.enchantment

public record LevelBasedValue$Linear

implements LevelBasedValue

daj$e
net.minecraft.world.item.enchantment.LevelBasedValue$Linear
net.minecraft.class_9704$class_9709
net.minecraft.enchantment.EnchantmentLevelBasedValue$Linear
net.minecraft.src.C_336443_$C_336440_
net.minecraft.world.item.enchantment.LevelBasedValue$e

Field summary

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

Constructor summary

ModifierConstructor
public (float perLevelAboveFirst, float arg1)

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