net.minecraft.world.item.enchantment

public record LevelBasedValue$Fraction

implements LevelBasedValue

ddh$c
net.minecraft.world.item.enchantment.LevelBasedValue$Fraction
net.minecraft.class_9704$class_9707
net.minecraft.unmapped.C_wrypqnyo$C_osxjoipc
net.minecraft.enchantment.EnchantmentLevelBasedValue$Fraction
net.minecraft.enchantment.LevelBasedValue$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
f_emvcscdn
numerator
numerator
f_337089_
private final LevelBasedValue
e
denominator
comp_2696
f_xrlwzmjb
denominator
denominator
f_337310_
public static final com.mojang.serialization.MapCodec<LevelBasedValue$Fraction>
c
CODEC
field_51694
f_jiweshkv
CODEC
CODEC
f_337301_

Constructor summary

ModifierConstructor
public (LevelBasedValue numerator, LevelBasedValue denominator)

Method summary

Modifier and TypeMethod
public float
a(int arg0)
calculate(int arg0)
method_60188(int arg0)
m_ecciwafj(int arg0)
getValue(int arg0)
getValue(int arg0)
m_338646_(int arg0)
public com.mojang.serialization.MapCodec<LevelBasedValue$Fraction>
a()
codec()
method_60185()
m_euxayzks()
getCodec()
getCodec()
m_338690_()
public LevelBasedValue
b()
numerator()
comp_2695()
m_siooerwv()
numerator()
numerator()
f_337089_()
public LevelBasedValue
c()
denominator()
comp_2696()
m_sqoaxxhg()
denominator()
denominator()
f_337310_()