Class StatsCounterFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.StatsCounterFix

public class StatsCounterFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/StatsCounterFix
intermediary net/minecraft/class_1214
official bhf
  • Field Details

    • SKIPPED_STATS

      private static final Set<String> SKIPPED_STATS
      Mappings:
      Namespace Name Mixin selector
      named SKIPPED_STATS Lnet/minecraft/datafixer/fix/StatsCounterFix;SKIPPED_STATS:Ljava/util/Set;
      intermediary field_45099 Lnet/minecraft/class_1214;field_45099:Ljava/util/Set;
      official a Lbhf;a:Ljava/util/Set;
    • REMOVED_STATS

      private static final Set<String> REMOVED_STATS
      Mappings:
      Namespace Name Mixin selector
      named REMOVED_STATS Lnet/minecraft/datafixer/fix/StatsCounterFix;REMOVED_STATS:Ljava/util/Set;
      intermediary field_5739 Lnet/minecraft/class_1214;field_5739:Ljava/util/Set;
      official b Lbhf;b:Ljava/util/Set;
    • RENAMED_GENERAL_STATS

      private static final Map<String,String> RENAMED_GENERAL_STATS
      Mappings:
      Namespace Name Mixin selector
      named RENAMED_GENERAL_STATS Lnet/minecraft/datafixer/fix/StatsCounterFix;RENAMED_GENERAL_STATS:Ljava/util/Map;
      intermediary field_5737 Lnet/minecraft/class_1214;field_5737:Ljava/util/Map;
      official c Lbhf;c:Ljava/util/Map;
    • OLD_MINE_BLOCK_ID

      private static final String OLD_MINE_BLOCK_ID
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named OLD_MINE_BLOCK_ID Lnet/minecraft/datafixer/fix/StatsCounterFix;OLD_MINE_BLOCK_ID:Ljava/lang/String;
      intermediary field_29907 Lnet/minecraft/class_1214;field_29907:Ljava/lang/String;
      official d Lbhf;d:Ljava/lang/String;
    • NEW_MINE_BLOCK_ID

      private static final String NEW_MINE_BLOCK_ID
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named NEW_MINE_BLOCK_ID Lnet/minecraft/datafixer/fix/StatsCounterFix;NEW_MINE_BLOCK_ID:Ljava/lang/String;
      intermediary field_29908 Lnet/minecraft/class_1214;field_29908:Ljava/lang/String;
      official e Lbhf;e:Ljava/lang/String;
    • RENAMED_ITEM_STATS

      private static final Map<String,String> RENAMED_ITEM_STATS
      Mappings:
      Namespace Name Mixin selector
      named RENAMED_ITEM_STATS Lnet/minecraft/datafixer/fix/StatsCounterFix;RENAMED_ITEM_STATS:Ljava/util/Map;
      intermediary field_5738 Lnet/minecraft/class_1214;field_5738:Ljava/util/Map;
      official f Lbhf;f:Ljava/util/Map;
    • RENAMED_ENTITY_STATS

      private static final Map<String,String> RENAMED_ENTITY_STATS
      Mappings:
      Namespace Name Mixin selector
      named RENAMED_ENTITY_STATS Lnet/minecraft/datafixer/fix/StatsCounterFix;RENAMED_ENTITY_STATS:Ljava/util/Map;
      intermediary field_5736 Lnet/minecraft/class_1214;field_5736:Ljava/util/Map;
      official g Lbhf;g:Ljava/util/Map;
    • RENAMED_ENTITIES

      private static final Map<String,String> RENAMED_ENTITIES
      Mappings:
      Namespace Name Mixin selector
      named RENAMED_ENTITIES Lnet/minecraft/datafixer/fix/StatsCounterFix;RENAMED_ENTITIES:Ljava/util/Map;
      intermediary field_5735 Lnet/minecraft/class_1214;field_5735:Ljava/util/Map;
      official h Lbhf;h:Ljava/util/Map;
    • CUSTOM

      private static final String CUSTOM
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CUSTOM Lnet/minecraft/datafixer/fix/StatsCounterFix;CUSTOM:Ljava/lang/String;
      intermediary field_29909 Lnet/minecraft/class_1214;field_29909:Ljava/lang/String;
      official i Lbhf;i:Ljava/lang/String;
  • Constructor Details

    • StatsCounterFix

      public StatsCounterFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/StatsCounterFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      intermediary <init> Lnet/minecraft/class_1214;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      official <init> Lbhf;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
  • Method Details

    • rename

      @Nullable private static @Nullable StatsCounterFix.Stat rename(String old)
      Mappings:
      Namespace Name Mixin selector
      named rename Lnet/minecraft/datafixer/fix/StatsCounterFix;rename(Ljava/lang/String;)Lnet/minecraft/datafixer/fix/StatsCounterFix$Stat;
      intermediary method_52500 Lnet/minecraft/class_1214;method_52500(Ljava/lang/String;)Lnet/minecraft/class_1214$class_8628;
      official a Lbhf;a(Ljava/lang/String;)Lbhf$a;
    • makeRule

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • makeFirstRoundRule

      private com.mojang.datafixers.TypeRewriteRule makeFirstRoundRule()
      Mappings:
      Namespace Name Mixin selector
      named makeFirstRoundRule Lnet/minecraft/datafixer/fix/StatsCounterFix;makeFirstRoundRule()Lcom/mojang/datafixers/TypeRewriteRule;
      intermediary method_52496 Lnet/minecraft/class_1214;method_52496()Lcom/mojang/datafixers/TypeRewriteRule;
      official a Lbhf;a()Lcom/mojang/datafixers/TypeRewriteRule;
    • makeSecondRoundRule

      private com.mojang.datafixers.TypeRewriteRule makeSecondRoundRule()
      Mappings:
      Namespace Name Mixin selector
      named makeSecondRoundRule Lnet/minecraft/datafixer/fix/StatsCounterFix;makeSecondRoundRule()Lcom/mojang/datafixers/TypeRewriteRule;
      intermediary method_52501 Lnet/minecraft/class_1214;method_52501()Lcom/mojang/datafixers/TypeRewriteRule;
      official b Lbhf;b()Lcom/mojang/datafixers/TypeRewriteRule;
    • getItem

      @Nullable private static @Nullable String getItem(String id)
      Mappings:
      Namespace Name Mixin selector
      named getItem Lnet/minecraft/datafixer/fix/StatsCounterFix;getItem(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_5172 Lnet/minecraft/class_1214;method_5172(Ljava/lang/String;)Ljava/lang/String;
      official b Lbhf;b(Ljava/lang/String;)Ljava/lang/String;
    • getBlock

      private static String getBlock(String id)
      Mappings:
      Namespace Name Mixin selector
      named getBlock Lnet/minecraft/datafixer/fix/StatsCounterFix;getBlock(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_5173 Lnet/minecraft/class_1214;method_5173(Ljava/lang/String;)Ljava/lang/String;
      official c Lbhf;c(Ljava/lang/String;)Ljava/lang/String;