net.minecraft.util.datafix.fixes

public class VillagerRebuildLevelAndXpFix

extends com.mojang.datafixers.DataFix

ass
net.minecraft.util.datafix.fixes.VillagerRebuildLevelAndXpFix
net.minecraft.class_4300
net.minecraft.datafixer.fix.VillagerXpRebuildFix
net.minecraft.src.C_362_
net.minecraft.util.datafix.fixes.DataConverterVillagerLevelXp

Field summary

Modifier and TypeField
private static final int
a
TRADES_PER_LEVEL
field_29914
field_29914
f_145761_
private static final int[]
b
LEVEL_XP_THRESHOLDS
field_19285
LEVEL_TO_XP
f_17074_

Constructor summary

ModifierConstructor
public (com.mojang.datafixers.schemas.Schema p_17078_, boolean arg1)

Method summary

Modifier and TypeMethod
public static int
a(int arg0)
getMinXpPerLevel(int arg0)
method_20482(int arg0)
levelToXp(int level)
m_17079_(int p_17080_)
public com.mojang.datafixers.TypeRewriteRule
makeRule()
makeRule()
makeRule()
private static com.mojang.datafixers.Typed<?>
a(com.mojang.datafixers.Typed<?> arg0, int arg1)
addLevel(com.mojang.datafixers.Typed<?> arg0, int arg1)
method_20487(com.mojang.datafixers.Typed<?> arg0, int arg1)
fixLevel(com.mojang.datafixers.Typed<?> arg0, int arg1)
m_17099_(com.mojang.datafixers.Typed<?> p_17100_, int p_17101_)
private static com.mojang.datafixers.Typed<?>
b(com.mojang.datafixers.Typed<?> arg0, int arg1)
addXpFromLevel(com.mojang.datafixers.Typed<?> arg0, int arg1)
method_20490(com.mojang.datafixers.Typed<?> arg0, int arg1)
fixXp(com.mojang.datafixers.Typed<?> arg0, int arg1)
m_17108_(com.mojang.datafixers.Typed<?> p_17109_, int p_17110_)