Class RenameScoreboardDisplaySlotFix

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

public class RenameScoreboardDisplaySlotFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/RenameScoreboardDisplaySlotFix
intermediary net/minecraft/class_8627
official bgr
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final Map<String,String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RenameScoreboardDisplaySlotFix(com.mojang.datafixers.schemas.Schema outputSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static @Nullable String
     
    protected com.mojang.datafixers.TypeRewriteRule
     

    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 Details

    • OLD_TO_NEW_SLOT_NAMES

      private static final Map<String,String> OLD_TO_NEW_SLOT_NAMES
      Mappings:
      Namespace Name Mixin selector
      named OLD_TO_NEW_SLOT_NAMES Lnet/minecraft/datafixer/fix/RenameScoreboardDisplaySlotFix;OLD_TO_NEW_SLOT_NAMES:Ljava/util/Map;
      intermediary field_45098 Lnet/minecraft/class_8627;field_45098:Ljava/util/Map;
      official a Lbgr;a:Ljava/util/Map;
  • Constructor Details

    • RenameScoreboardDisplaySlotFix

      public RenameScoreboardDisplaySlotFix(com.mojang.datafixers.schemas.Schema outputSchema)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/RenameScoreboardDisplaySlotFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      intermediary <init> Lnet/minecraft/class_8627;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      official <init> Lbgr;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
  • Method Details

    • getUpdatedName

      @Nullable private static @Nullable String getUpdatedName(String oldName)
      Mappings:
      Namespace Name Mixin selector
      named getUpdatedName Lnet/minecraft/datafixer/fix/RenameScoreboardDisplaySlotFix;getUpdatedName(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_52493 Lnet/minecraft/class_8627;method_52493(Ljava/lang/String;)Ljava/lang/String;
      official a Lbgr;a(Ljava/lang/String;)Ljava/lang/String;
    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix