public class VillagerXpRebuildFix
extends com.mojang.datafixers.DataFix
| Modifier and Type | Field and Description |
|---|---|
private static int[] |
LEVEL_TO_XP |
| Constructor and Description |
|---|
VillagerXpRebuildFix(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType) |
| Modifier and Type | Method and Description |
|---|---|
static int |
levelToXp(int level) |
com.mojang.datafixers.TypeRewriteRule |
makeRule() |
private static com.mojang.datafixers.Typed<?> |
method_20487(com.mojang.datafixers.Typed<?> typed,
int int2) |
private static com.mojang.datafixers.Typed<?> |
method_20490(com.mojang.datafixers.Typed<?> typed,
int int2) |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndReadpublic VillagerXpRebuildFix(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType)
public static int levelToXp(int level)
public com.mojang.datafixers.TypeRewriteRule makeRule()
makeRule in class com.mojang.datafixers.DataFixprivate static com.mojang.datafixers.Typed<?> method_20487(com.mojang.datafixers.Typed<?> typed,
int int2)
private static com.mojang.datafixers.Typed<?> method_20490(com.mojang.datafixers.Typed<?> typed,
int int2)