Class MemoryExpiryDataFix

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

public class MemoryExpiryDataFix extends ChoiceFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/MemoryExpiryDataFix
intermediary net/minecraft/class_4803
official bhn
  • Constructor Summary

    Constructors
    Constructor
    Description
    MemoryExpiryDataFix(com.mojang.datafixers.schemas.Schema outputSchema, String choiceName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.Typed<?>
    transform(com.mojang.datafixers.Typed<?> inputTyped)
     
    com.mojang.serialization.Dynamic<?>
    updateBrain(com.mojang.serialization.Dynamic<?> entityDynamic)
     
    private com.mojang.serialization.Dynamic<?>
    updateMemories(com.mojang.serialization.Dynamic<?> brainDynamic)
     
    private com.mojang.serialization.Dynamic<?>
    updateMemoryMap(com.mojang.serialization.Dynamic<?> memoriesDynamic)
     
    private com.mojang.serialization.Dynamic<?>
    updateMemoryMapValueEntry(com.mojang.serialization.Dynamic<?> memoryValue)
     
    private com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>>
    updateMemoryMapValues(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> memoryKv)
     

    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

    • MemoryExpiryDataFix

      public MemoryExpiryDataFix(com.mojang.datafixers.schemas.Schema outputSchema, String choiceName)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/MemoryExpiryDataFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_4803;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
      official <init> Lbhn;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
  • Method Details

    • transform

      protected com.mojang.datafixers.Typed<?> transform(com.mojang.datafixers.Typed<?> inputTyped)
      Specified by:
      transform in class ChoiceFix
      Mappings:
      Namespace Name Mixin selector
      named transform Lnet/minecraft/datafixer/fix/ChoiceFix;transform(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;
      official a Lbhr;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
    • updateBrain

      public com.mojang.serialization.Dynamic<?> updateBrain(com.mojang.serialization.Dynamic<?> entityDynamic)
      Mappings:
      Namespace Name Mixin selector
      named updateBrain Lnet/minecraft/datafixer/fix/MemoryExpiryDataFix;updateBrain(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_24506 Lnet/minecraft/class_4803;method_24506(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbhn;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • updateMemories

      private com.mojang.serialization.Dynamic<?> updateMemories(com.mojang.serialization.Dynamic<?> brainDynamic)
      Mappings:
      Namespace Name Mixin selector
      named updateMemories Lnet/minecraft/datafixer/fix/MemoryExpiryDataFix;updateMemories(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_24508 Lnet/minecraft/class_4803;method_24508(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official b Lbhn;b(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • updateMemoryMap

      private com.mojang.serialization.Dynamic<?> updateMemoryMap(com.mojang.serialization.Dynamic<?> memoriesDynamic)
      Mappings:
      Namespace Name Mixin selector
      named updateMemoryMap Lnet/minecraft/datafixer/fix/MemoryExpiryDataFix;updateMemoryMap(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_24509 Lnet/minecraft/class_4803;method_24509(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official c Lbhn;c(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • updateMemoryMapValues

      private com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> updateMemoryMapValues(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> memoryKv)
      Mappings:
      Namespace Name Mixin selector
      named updateMemoryMapValues Lnet/minecraft/datafixer/fix/MemoryExpiryDataFix;updateMemoryMapValues(Lcom/mojang/datafixers/util/Pair;)Lcom/mojang/datafixers/util/Pair;
      intermediary method_24507 Lnet/minecraft/class_4803;method_24507(Lcom/mojang/datafixers/util/Pair;)Lcom/mojang/datafixers/util/Pair;
      official a Lbhn;a(Lcom/mojang/datafixers/util/Pair;)Lcom/mojang/datafixers/util/Pair;
    • updateMemoryMapValueEntry

      private com.mojang.serialization.Dynamic<?> updateMemoryMapValueEntry(com.mojang.serialization.Dynamic<?> memoryValue)
      Mappings:
      Namespace Name Mixin selector
      named updateMemoryMapValueEntry Lnet/minecraft/datafixer/fix/MemoryExpiryDataFix;updateMemoryMapValueEntry(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_24510 Lnet/minecraft/class_4803;method_24510(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official d Lbhn;d(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;