net.minecraft.world.item.enchantment

public record LevelBasedValue$Fraction

implements LevelBasedValue

deg$c
net.minecraft.world.item.enchantment.LevelBasedValue$Fraction
net.minecraft.class_9704$class_9707
net.minecraft.enchantment.EnchantmentLevelBasedValue$Fraction
net.minecraft.world.item.enchantment.LevelBasedValue$c

Field summary

Modifier and TypeField
private final LevelBasedValue
d
numerator
comp_2695
numerator
private final LevelBasedValue
e
denominator
comp_2696
denominator
public static final com.mojang.serialization.MapCodec<LevelBasedValue$Fraction>
c
CODEC
field_51694
CODEC

Constructor summary

ModifierConstructor
public (LevelBasedValue arg0, LevelBasedValue arg1)

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$Fraction>
a()
codec()
method_60185()
getCodec()
public LevelBasedValue
b()
numerator()
comp_2695()
numerator()
public LevelBasedValue
c()
denominator()
comp_2696()
denominator()