net.minecraft.world.item.enchantment

public record LevelBasedValue$Linear

implements LevelBasedValue

def$e
net.minecraft.world.item.enchantment.LevelBasedValue$Linear
net.minecraft.class_9704$class_9709
net.minecraft.unmapped.C_wrypqnyo$C_kblfatgc
net.minecraft.enchantment.EnchantmentLevelBasedValue$Linear
net.minecraft.enchantment.LevelBasedValue$Linear
net.minecraft.src.C_336443_$C_336440_
net.minecraft.world.item.enchantment.ItemEnchantments$e

Field summary

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

Constructor summary

ModifierConstructor
public (float base, float perLevelAboveFirst)

Method summary

Modifier and TypeMethod
public float
a(int arg0)
calculate(int arg0)
method_60188(int arg0)
m_ecciwafj(int arg0)
getValue(int arg0)
getValue(int arg0)
m_338646_(int arg0)
public com.mojang.serialization.MapCodec<LevelBasedValue$Linear>
a()
codec()
method_60185()
m_euxayzks()
getCodec()
getCodec()
m_338690_()
public float
b()
base()
comp_2698()
m_frneeanm()
base()
base()
f_337076_()
public float
c()
perLevelAboveFirst()
comp_2699()
m_sdjdsvkc()
perLevelAboveFirst()
perLevelAboveFirst()
f_336969_()