Package net.minecraft.util.datafix.fixes
Class StatsRenaming
- java.lang.Object
-
- com.mojang.datafixers.DataFix
-
- net.minecraft.util.datafix.fixes.StatsRenaming
-
public class StatsRenaming extends com.mojang.datafixers.DataFix
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Map<java.lang.String,java.lang.String>
CUSTOM_MAP
private static java.util.Map<java.lang.String,java.lang.String>
ENTITIES
private static java.util.Map<java.lang.String,java.lang.String>
ENTITY_KEYS
private static java.util.Map<java.lang.String,java.lang.String>
ITEM_KEYS
private static java.util.Set<java.lang.String>
SKIP
-
Constructor Summary
Constructors Constructor Description StatsRenaming(com.mojang.datafixers.schemas.Schema p_i49615_1_, boolean p_i49615_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.mojang.datafixers.TypeRewriteRule
makeRule()
protected java.lang.String
upgradeBlock(java.lang.String p_206287_1_)
protected java.lang.String
upgradeItem(java.lang.String p_209681_1_)
-
Methods inherited from class com.mojang.datafixers.DataFix
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
-
-
-
-
Field Detail
-
SKIP
private static final java.util.Set<java.lang.String> SKIP
-
CUSTOM_MAP
private static final java.util.Map<java.lang.String,java.lang.String> CUSTOM_MAP
-
ITEM_KEYS
private static final java.util.Map<java.lang.String,java.lang.String> ITEM_KEYS
-
ENTITY_KEYS
private static final java.util.Map<java.lang.String,java.lang.String> ENTITY_KEYS
-
ENTITIES
private static final java.util.Map<java.lang.String,java.lang.String> ENTITIES
-
-
Method Detail
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()
- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
upgradeItem
@Nullable protected java.lang.String upgradeItem(java.lang.String p_209681_1_)
-
upgradeBlock
protected java.lang.String upgradeBlock(java.lang.String p_206287_1_)
-
-