net.minecraft.world.item.enchantment

public record LevelBasedValue$Clamped

implements LevelBasedValue

daj$a
net.minecraft.world.item.enchantment.LevelBasedValue$Clamped
net.minecraft.class_9704$class_9705
net.minecraft.enchantment.EnchantmentLevelBasedValue$Clamped
net.minecraft.src.C_336443_$C_336524_
net.minecraft.world.item.enchantment.LevelBasedValue$a

Field summary

Modifier and TypeField
private final LevelBasedValue
d
value
comp_2691
value
f_336702_
private final float
e
min
comp_2692
min
f_336751_
private final float
f
max
comp_2693
max
f_337031_
public static final com.mojang.serialization.MapCodec<LevelBasedValue$Clamped>
c
CODEC
field_51691
CODEC
f_336664_

Constructor summary

ModifierConstructor
public (LevelBasedValue min, float max, float arg2)

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$Clamped>
a()
codec()
method_60185()
getCodec()
m_338690_()
public LevelBasedValue
b()
value()
comp_2691()
value()
f_336702_()
public float
c()
min()
comp_2692()
min()
f_336751_()
public float
d()
max()
comp_2693()
max()
f_337031_()