Class ChoiceWriteReadFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChoiceWriteReadFix
Direct Known Subclasses:
HorseArmorFix, PrimedTntBlockStateFix, RemoveEmptyItemInSuspiciousBlockFix, TippedArrowPotionToItemFix, TrialSpawnerConfigTagFix

public abstract class ChoiceWriteReadFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/ChoiceWriteReadFix
intermediary net/minecraft/class_8877
official bfw
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
     
    private final String
     
    private final com.mojang.datafixers.DSL.TypeReference
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChoiceWriteReadFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType, String name, com.mojang.datafixers.DSL.TypeReference type, String choiceName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.datafixers.TypeRewriteRule
     
    private static <A, B> com.mojang.datafixers.TypeRewriteRule
    method_56640(com.mojang.datafixers.types.Type<A> type, com.mojang.datafixers.types.Type<B> type2)
     
    private <S, T, A, B>
    com.mojang.datafixers.TypeRewriteRule
    method_56641(com.mojang.datafixers.types.Type<S> type, com.mojang.datafixers.types.Type<T> type2, com.mojang.datafixers.OpticFinder<A> opticFinder, com.mojang.datafixers.types.Type<B> type3, com.mojang.datafixers.types.Type<?> type4)
     
    protected abstract <T> com.mojang.serialization.Dynamic<T>
    transform(com.mojang.serialization.Dynamic<T> data)
     

    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
      named name Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;name:Ljava/lang/String;
      intermediary field_46773 Lnet/minecraft/class_8877;field_46773:Ljava/lang/String;
      official a Lbfw;a:Ljava/lang/String;
    • choiceName

      private final String choiceName
      Mappings:
      Namespace Name Mixin selector
      named choiceName Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;choiceName:Ljava/lang/String;
      intermediary field_46774 Lnet/minecraft/class_8877;field_46774:Ljava/lang/String;
      official b Lbfw;b:Ljava/lang/String;
    • type

      private final com.mojang.datafixers.DSL.TypeReference type
      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;type:Lcom/mojang/datafixers/DSL$TypeReference;
      intermediary field_46775 Lnet/minecraft/class_8877;field_46775:Lcom/mojang/datafixers/DSL$TypeReference;
      official c Lbfw;c:Lcom/mojang/datafixers/DSL$TypeReference;
  • Constructor Details

    • ChoiceWriteReadFix

      public ChoiceWriteReadFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType, String name, com.mojang.datafixers.DSL.TypeReference type, String choiceName)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_8877;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;)V
      official <init> Lbfw;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;)V
  • Method Details

    • makeRule

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

      private <S, T, A, B> com.mojang.datafixers.TypeRewriteRule method_56641(com.mojang.datafixers.types.Type<S> type, com.mojang.datafixers.types.Type<T> type2, com.mojang.datafixers.OpticFinder<A> opticFinder, com.mojang.datafixers.types.Type<B> type3, com.mojang.datafixers.types.Type<?> type4)
      Mappings:
      Namespace Name Mixin selector
      named method_56641 Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;method_56641(Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/TypeRewriteRule;
      intermediary method_56641 Lnet/minecraft/class_8877;method_56641(Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/TypeRewriteRule;
      official a Lbfw;a(Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/TypeRewriteRule;
    • method_56640

      private static <A, B> com.mojang.datafixers.TypeRewriteRule method_56640(com.mojang.datafixers.types.Type<A> type, com.mojang.datafixers.types.Type<B> type2)
      Mappings:
      Namespace Name Mixin selector
      named method_56640 Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;method_56640(Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/TypeRewriteRule;
      intermediary method_56640 Lnet/minecraft/class_8877;method_56640(Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/TypeRewriteRule;
      official a Lbfw;a(Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/TypeRewriteRule;
    • transform

      protected abstract <T> com.mojang.serialization.Dynamic<T> transform(com.mojang.serialization.Dynamic<T> data)
      Mappings:
      Namespace Name Mixin selector
      named transform Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;transform(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_54447 Lnet/minecraft/class_8877;method_54447(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbfw;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;