Class RenameVariantsFix

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

public class RenameVariantsFix extends ChoiceFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/RenameVariantsFix
intermediary net/minecraft/class_7508
official bhv
  • Field Summary

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

    Constructors
    Constructor
    Description
    RenameVariantsFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, com.mojang.datafixers.DSL.TypeReference type, String choiceName, Map<String,String> oldToNewNames)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.Typed<?>
    transform(com.mojang.datafixers.Typed<?> inputType)
     

    Methods inherited from class net.minecraft.datafixer.fix.ChoiceFix

    makeRule

    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

    • oldToNewNames

      private final Map<String,String> oldToNewNames
      Mappings:
      Namespace Name Mixin selector
      named oldToNewNames Lnet/minecraft/datafixer/fix/RenameVariantsFix;oldToNewNames:Ljava/util/Map;
      intermediary field_39407 Lnet/minecraft/class_7508;field_39407:Ljava/util/Map;
      official a Lbhv;a:Ljava/util/Map;
  • Constructor Details

    • RenameVariantsFix

      public RenameVariantsFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, com.mojang.datafixers.DSL.TypeReference type, String choiceName, Map<String,String> oldToNewNames)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/RenameVariantsFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_7508;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Ljava/util/Map;)V
      official <init> Lbhv;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Ljava/util/Map;)V
  • Method Details

    • transform

      protected com.mojang.datafixers.Typed<?> transform(com.mojang.datafixers.Typed<?> inputType)
      Specified by:
      transform in class ChoiceFix
      Mappings:
      Namespace Name Mixin selector
      named transform Lnet/minecraft/datafixer/fix/ChoiceFix;transform(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      intermediary method_5105 Lnet/minecraft/class_1197;method_5105(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      official a Lbfv;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;