Class OptionsRenameFieldFix

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

public class OptionsRenameFieldFix extends com.mojang.datafixers.DataFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
     
    private final String
     
    private final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    OptionsRenameFieldFix(com.mojang.datafixers.schemas.Schema p_16670_, boolean p_16671_, String p_16672_, String p_16673_, String p_16674_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    • fixName

      private final String fixName
    • fieldFrom

      private final String fieldFrom
    • fieldTo

      private final String fieldTo
  • Constructor Details

    • OptionsRenameFieldFix

      public OptionsRenameFieldFix(com.mojang.datafixers.schemas.Schema p_16670_, boolean p_16671_, String p_16672_, String p_16673_, String p_16674_)
  • Method Details

    • makeRule

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