Class VariantRenameFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.NamedEntityFix
net.minecraft.util.datafix.fixes.VariantRenameFix

public class VariantRenameFix extends NamedEntityFix
  • Field Summary

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

    Constructors
    Constructor
    Description
    VariantRenameFix(com.mojang.datafixers.schemas.Schema p_216742_, String p_216743_, com.mojang.datafixers.DSL.TypeReference p_216744_, String p_216745_, Map<String,String> p_216746_)
     
  • Method Summary

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

    Methods inherited from class net.minecraft.util.datafix.fixes.NamedEntityFix

    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

  • Constructor Details

    • VariantRenameFix

      public VariantRenameFix(com.mojang.datafixers.schemas.Schema p_216742_, String p_216743_, com.mojang.datafixers.DSL.TypeReference p_216744_, String p_216745_, Map<String,String> p_216746_)
  • Method Details

    • fix

      protected com.mojang.datafixers.Typed<?> fix(com.mojang.datafixers.Typed<?> p_216748_)
      Specified by:
      fix in class NamedEntityFix