net.minecraft.world.item.enchantment

public record LevelBasedValue$Clamped

implements LevelBasedValue

ddh$a
net.minecraft.world.item.enchantment.LevelBasedValue$Clamped
net.minecraft.class_9704$class_9705
net.minecraft.enchantment.EnchantmentLevelBasedValue$Clamped
net.minecraft.world.item.enchantment.LevelBasedValue$a

Field summary

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

Constructor summary

ModifierConstructor
public (LevelBasedValue arg0, float arg1, float arg2)

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