Class EntityProjectileOwnerFix

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

public class EntityProjectileOwnerFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official ajr
intermediary net/minecraft/class_4860
named net/minecraft/datafixer/fix/EntityProjectileOwnerFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    EntityProjectileOwnerFix​(com.mojang.datafixers.schemas.Schema outputSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private com.mojang.datafixers.Typed<?>
    fixEntities​(com.mojang.datafixers.Typed<?> typed)
     
    private com.mojang.serialization.Dynamic<?>
    insertOwnerUuidArray​(com.mojang.serialization.Dynamic<?> dynamic, long most, long least)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    private static int[]
    makeUuidArray​(long most, long least)
     
    private com.mojang.serialization.Dynamic<?>
    moveFlatOwnerMostLeastToArray​(com.mojang.serialization.Dynamic<?> dynamic)
     
    private com.mojang.serialization.Dynamic<?>
    moveNestedOwnerMostLeastToArray​(com.mojang.serialization.Dynamic<?> dynamic)
     
    private com.mojang.serialization.Dynamic<?>
    moveOwnerToArray​(com.mojang.serialization.Dynamic<?> dynamic)
     
    private com.mojang.serialization.Dynamic<?>
    renamePotionToItem​(com.mojang.serialization.Dynamic<?> dynamic)
     
    private com.mojang.datafixers.Typed<?>
    update​(com.mojang.datafixers.Typed<?> typed, String string, Function<com.mojang.serialization.Dynamic<?>,​com.mojang.serialization.Dynamic<?>> function)
     

    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

    • EntityProjectileOwnerFix

      public EntityProjectileOwnerFix(com.mojang.datafixers.schemas.Schema outputSchema)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lajr;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      intermediary <init> Lnet/minecraft/class_4860;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      named <init> Lnet/minecraft/datafixer/fix/EntityProjectileOwnerFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
  • Method Details

    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • fixEntities

      private com.mojang.datafixers.Typed<?> fixEntities(com.mojang.datafixers.Typed<?> typed)
      Mappings:
      Namespace Name Mixin selector
      official a Lajr;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      intermediary method_24901 Lnet/minecraft/class_4860;method_24901(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      named fixEntities Lnet/minecraft/datafixer/fix/EntityProjectileOwnerFix;fixEntities(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
    • moveFlatOwnerMostLeastToArray

      private com.mojang.serialization.Dynamic<?> moveFlatOwnerMostLeastToArray(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lajr;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_24899 Lnet/minecraft/class_4860;method_24899(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named moveFlatOwnerMostLeastToArray Lnet/minecraft/datafixer/fix/EntityProjectileOwnerFix;moveFlatOwnerMostLeastToArray(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • moveNestedOwnerMostLeastToArray

      private com.mojang.serialization.Dynamic<?> moveNestedOwnerMostLeastToArray(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official b Lajr;b(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_24904 Lnet/minecraft/class_4860;method_24904(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named moveNestedOwnerMostLeastToArray Lnet/minecraft/datafixer/fix/EntityProjectileOwnerFix;moveNestedOwnerMostLeastToArray(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • renamePotionToItem

      private com.mojang.serialization.Dynamic<?> renamePotionToItem(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official c Lajr;c(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_24905 Lnet/minecraft/class_4860;method_24905(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named renamePotionToItem Lnet/minecraft/datafixer/fix/EntityProjectileOwnerFix;renamePotionToItem(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • moveOwnerToArray

      private com.mojang.serialization.Dynamic<?> moveOwnerToArray(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official d Lajr;d(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_24906 Lnet/minecraft/class_4860;method_24906(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named moveOwnerToArray Lnet/minecraft/datafixer/fix/EntityProjectileOwnerFix;moveOwnerToArray(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • insertOwnerUuidArray

      private com.mojang.serialization.Dynamic<?> insertOwnerUuidArray(com.mojang.serialization.Dynamic<?> dynamic, long most, long least)
      Mappings:
      Namespace Name Mixin selector
      official a Lajr;a(Lcom/mojang/serialization/Dynamic;JJ)Lcom/mojang/serialization/Dynamic;
      intermediary method_24900 Lnet/minecraft/class_4860;method_24900(Lcom/mojang/serialization/Dynamic;JJ)Lcom/mojang/serialization/Dynamic;
      named insertOwnerUuidArray Lnet/minecraft/datafixer/fix/EntityProjectileOwnerFix;insertOwnerUuidArray(Lcom/mojang/serialization/Dynamic;JJ)Lcom/mojang/serialization/Dynamic;
    • makeUuidArray

      private static int[] makeUuidArray(long most, long least)
      Mappings:
      Namespace Name Mixin selector
      official a Lajr;a(JJ)[I
      intermediary method_24898 Lnet/minecraft/class_4860;method_24898(JJ)[I
      named makeUuidArray Lnet/minecraft/datafixer/fix/EntityProjectileOwnerFix;makeUuidArray(JJ)[I
    • update

      private com.mojang.datafixers.Typed<?> update(com.mojang.datafixers.Typed<?> typed, String string, Function<com.mojang.serialization.Dynamic<?>,​com.mojang.serialization.Dynamic<?>> function)
      Mappings:
      Namespace Name Mixin selector
      official a Lajr;a(Lcom/mojang/datafixers/Typed;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/Typed;
      intermediary method_24902 Lnet/minecraft/class_4860;method_24902(Lcom/mojang/datafixers/Typed;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/Typed;
      named update Lnet/minecraft/datafixer/fix/EntityProjectileOwnerFix;update(Lcom/mojang/datafixers/Typed;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/Typed;