net.minecraft.enchantment

public record EnchantmentLevelBasedValue$Exponent

implements EnchantmentLevelBasedValue

net.minecraft.world.item.enchantment.LevelBasedValue$Exponent
net.minecraft.class_9704$class_12128
net.minecraft.enchantment.EnchantmentLevelBasedValue$Exponent

Field summary

Modifier and TypeField
private final EnchantmentLevelBasedValue
base
comp_4979
base
private final EnchantmentLevelBasedValue
power
comp_4980
power
public static final com.mojang.serialization.MapCodec<EnchantmentLevelBasedValue$Exponent>
CODEC
field_63421
CODEC

Constructor summary

ModifierConstructor
public (EnchantmentLevelBasedValue base, EnchantmentLevelBasedValue power)

Method summary

Modifier and TypeMethod
public float
calculate(int level)
method_60188(int arg0)
getValue(int arg0)
public com.mojang.serialization.MapCodec<EnchantmentLevelBasedValue$Exponent>
codec()
method_60185()
getCodec()
public EnchantmentLevelBasedValue
base()
comp_4979()
base()
public EnchantmentLevelBasedValue
power()
comp_4980()
power()
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_75257(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_75257(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)