Class EntityTransformFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.EntityTransformFix
Direct Known Subclasses:
EntityHorseSplitFix, EntitySimpleTransformFix

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

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

    Constructors
    Constructor
    Description
    EntityTransformFix(String name, com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.datafixers.TypeRewriteRule
     
    private <A> com.mojang.datafixers.Typed<A>
    makeTyped(Object object, com.mojang.serialization.DynamicOps<?> dynamicOps, com.mojang.datafixers.types.Type<A> type)
     
    protected abstract com.mojang.datafixers.util.Pair<String,com.mojang.datafixers.Typed<?>>
    transform(String choice, com.mojang.datafixers.Typed<?> typed)
     

    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

      protected final String name
      Mappings:
      Namespace Name Mixin selector
      official a Lajv;a:Ljava/lang/String;
      intermediary field_5670 Lnet/minecraft/class_1167;field_5670:Ljava/lang/String;
      named name Lnet/minecraft/datafixer/fix/EntityTransformFix;name:Ljava/lang/String;
  • Constructor Details

    • EntityTransformFix

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

    • makeRule

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

      private <A> com.mojang.datafixers.Typed<A> makeTyped(Object object, com.mojang.serialization.DynamicOps<?> dynamicOps, com.mojang.datafixers.types.Type<A> type)
      Mappings:
      Namespace Name Mixin selector
      official a Lajv;a(Ljava/lang/Object;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/Typed;
      intermediary method_4983 Lnet/minecraft/class_1167;method_4983(Ljava/lang/Object;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/Typed;
      named makeTyped Lnet/minecraft/datafixer/fix/EntityTransformFix;makeTyped(Ljava/lang/Object;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/Typed;
    • transform

      protected abstract com.mojang.datafixers.util.Pair<String,com.mojang.datafixers.Typed<?>> transform(String choice, com.mojang.datafixers.Typed<?> typed)
      Mappings:
      Namespace Name Mixin selector
      official a Lajv;a(Ljava/lang/String;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/util/Pair;
      intermediary method_4982 Lnet/minecraft/class_1167;method_4982(Ljava/lang/String;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/util/Pair;
      named transform Lnet/minecraft/datafixer/fix/EntityTransformFix;transform(Ljava/lang/String;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/util/Pair;