Class 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • StatsRenaming

        public StatsRenaming​(com.mojang.datafixers.schemas.Schema p_i49615_1_,
                             boolean p_i49615_2_)
    • Method Detail

      • makeRule

        public com.mojang.datafixers.TypeRewriteRule makeRule()
        Specified by:
        makeRule in class com.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_)