net.minecraft.world.item.enchantment

public record LevelBasedValue$Fraction

implements LevelBasedValue

daj$c
net.minecraft.world.item.enchantment.LevelBasedValue$Fraction
net.minecraft.class_9704$class_9707
net.minecraft.enchantment.EnchantmentLevelBasedValue$Fraction
net.minecraft.src.C_336443_$C_336582_
net.minecraft.world.item.enchantment.LevelBasedValue$c

Field summary

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

Constructor summary

ModifierConstructor
public (LevelBasedValue denominator, LevelBasedValue arg1)

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