Class CatTypeFix

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

public class CatTypeFix extends ChoiceFix
Mappings:
Namespace Name
official air
intermediary net/minecraft/class_3903
named net/minecraft/datafixer/fix/CatTypeFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    CatTypeFix​(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.serialization.Dynamic<?>
    fixCatTypeData​(com.mojang.serialization.Dynamic<?> dynamic)
     
    protected com.mojang.datafixers.Typed<?>
    transform​(com.mojang.datafixers.Typed<?> inputType)

    Methods inherited from class net.minecraft.datafixer.fix.ChoiceFix

    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
  • Constructor Details

    • CatTypeFix

      public CatTypeFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lair;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      intermediary <init> Lnet/minecraft/class_3903;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      named <init> Lnet/minecraft/datafixer/fix/CatTypeFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
  • Method Details

    • fixCatTypeData

      public com.mojang.serialization.Dynamic<?> fixCatTypeData(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lair;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_17325 Lnet/minecraft/class_3903;method_17325(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named fixCatTypeData Lnet/minecraft/datafixer/fix/CatTypeFix;fixCatTypeData(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • transform

      protected com.mojang.datafixers.Typed<?> transform(com.mojang.datafixers.Typed<?> inputType)
      Specified by:
      transform in class ChoiceFix
      Mappings:
      Namespace Name Mixin selector
      official a Lalm;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      intermediary method_5105 Lnet/minecraft/class_1197;method_5105(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      named transform Lnet/minecraft/datafixer/fix/ChoiceFix;transform(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;