Class OptionFix

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

public class OptionFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official avp
intermediary net/minecraft/class_5404
named net/minecraft/datafixer/fix/OptionFix
  • Field Summary

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

    Constructors
    Constructor
    Description
    OptionFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType, String name, String oldName, String newName)
     
  • 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

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official a Lavp;a:Ljava/lang/String;
      intermediary field_25665 Lnet/minecraft/class_5404;field_25665:Ljava/lang/String;
      named name Lnet/minecraft/datafixer/fix/OptionFix;name:Ljava/lang/String;
    • oldName

      private final String oldName
      Mappings:
      Namespace Name Mixin selector
      official b Lavp;b:Ljava/lang/String;
      intermediary field_25666 Lnet/minecraft/class_5404;field_25666:Ljava/lang/String;
      named oldName Lnet/minecraft/datafixer/fix/OptionFix;oldName:Ljava/lang/String;
    • newName

      private final String newName
      Mappings:
      Namespace Name Mixin selector
      official c Lavp;c:Ljava/lang/String;
      intermediary field_25667 Lnet/minecraft/class_5404;field_25667:Ljava/lang/String;
      named newName Lnet/minecraft/datafixer/fix/OptionFix;newName:Ljava/lang/String;
  • Constructor Details

    • OptionFix

      public OptionFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType, String name, String oldName, String newName)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lavp;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_5404;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
      named <init> Lnet/minecraft/datafixer/fix/OptionFix;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
  • Method Details

    • makeRule

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