net.minecraft.util.datafix.fixes

public class VillagerRebuildLevelAndXpFix

extends com.mojang.datafixers.DataFix

bjz
net.minecraft.util.datafix.fixes.VillagerRebuildLevelAndXpFix
net.minecraft.class_4300
net.minecraft.datafixer.fix.VillagerXpRebuildFix
net.minecraft.util.datafix.fixes.DataConverterVillagerLevelXp

Field summary

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

Constructor summary

ModifierConstructor
public (com.mojang.datafixers.schemas.Schema outputSchema, boolean changesTyped)

Method summary

Modifier and TypeMethod
public static int
a(int arg0)
getMinXpPerLevel(int arg0)
method_20482(int arg0)
levelToXp(int level)
public com.mojang.datafixers.TypeRewriteRule
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<?> villagerTyped, int level)
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<?> villagerTyped, int level)