Class ChoiceTypesFix

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

public class ChoiceTypesFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/ChoiceTypesFix
intermediary net/minecraft/class_3553
official baw
  • Field Summary Link icon

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

    Constructors
    Constructor
    Description
    ChoiceTypesFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, com.mojang.datafixers.DSL.TypeReference types)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    private <K> com.mojang.datafixers.TypeRewriteRule
    fixChoiceTypes(com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<K> inputChoiceType, com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<?> outputChoiceType)
     
    com.mojang.datafixers.TypeRewriteRule
     

    Methods inherited from class com.mojang.datafixers.DataFix Link icon

    checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • name Link icon

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/datafixer/fix/ChoiceTypesFix;name:Ljava/lang/String;
      intermediary field_15779 Lnet/minecraft/class_3553;field_15779:Ljava/lang/String;
      official a Lbaw;a:Ljava/lang/String;
    • types Link icon

      private final com.mojang.datafixers.DSL.TypeReference types
      Mappings:
      Namespace Name Mixin selector
      named types Lnet/minecraft/datafixer/fix/ChoiceTypesFix;types:Lcom/mojang/datafixers/DSL$TypeReference;
      intermediary field_15780 Lnet/minecraft/class_3553;field_15780:Lcom/mojang/datafixers/DSL$TypeReference;
      official b Lbaw;b:Lcom/mojang/datafixers/DSL$TypeReference;
  • Constructor Details Link icon

    • ChoiceTypesFix Link icon

      public ChoiceTypesFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, com.mojang.datafixers.DSL.TypeReference types)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/ChoiceTypesFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;)V
      intermediary <init> Lnet/minecraft/class_3553;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;)V
      official <init> Lbaw;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;)V
  • Method Details Link icon

    • makeRule Link icon

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

      private <K> com.mojang.datafixers.TypeRewriteRule fixChoiceTypes(com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<K> inputChoiceType, com.mojang.datafixers.types.templates.TaggedChoice.TaggedChoiceType<?> outputChoiceType)
      Mappings:
      Namespace Name Mixin selector
      named fixChoiceTypes Lnet/minecraft/datafixer/fix/ChoiceTypesFix;fixChoiceTypes(Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;)Lcom/mojang/datafixers/TypeRewriteRule;
      intermediary method_15476 Lnet/minecraft/class_3553;method_15476(Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;)Lcom/mojang/datafixers/TypeRewriteRule;
      official a Lbaw;a(Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;Lcom/mojang/datafixers/types/templates/TaggedChoice$TaggedChoiceType;)Lcom/mojang/datafixers/TypeRewriteRule;