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
official alj
intermediary net/minecraft/class_4803
named net/minecraft/datafixer/fix/MemoryExpiryDataFix
  • 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<?> inputType)
    com.mojang.serialization.Dynamic<?>
    updateBrain​(com.mojang.serialization.Dynamic<?> dynamic)
     
    private com.mojang.serialization.Dynamic<?>
    updateMemories​(com.mojang.serialization.Dynamic<?> dynamic)
     
    private com.mojang.serialization.Dynamic<?>
    updateMemoryMap​(com.mojang.serialization.Dynamic<?> dynamic)
     
    private com.mojang.serialization.Dynamic<?>
    updateMemoryMapValueEntry​(com.mojang.serialization.Dynamic<?> dynamic)
     
    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<?>> pair)
     

    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
      official <init> Lalj;<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
      named <init> Lnet/minecraft/datafixer/fix/MemoryExpiryDataFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
  • Method Details

    • 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;
    • updateBrain

      public com.mojang.serialization.Dynamic<?> updateBrain(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lalj;a(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;
      named updateBrain Lnet/minecraft/datafixer/fix/MemoryExpiryDataFix;updateBrain(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • updateMemories

      private com.mojang.serialization.Dynamic<?> updateMemories(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official b Lalj;b(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;
      named updateMemories Lnet/minecraft/datafixer/fix/MemoryExpiryDataFix;updateMemories(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • updateMemoryMap

      private com.mojang.serialization.Dynamic<?> updateMemoryMap(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official c Lalj;c(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;
      named updateMemoryMap Lnet/minecraft/datafixer/fix/MemoryExpiryDataFix;updateMemoryMap(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<?>> pair)
      Mappings:
      Namespace Name Mixin selector
      official a Lalj;a(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;
      named updateMemoryMapValues Lnet/minecraft/datafixer/fix/MemoryExpiryDataFix;updateMemoryMapValues(Lcom/mojang/datafixers/util/Pair;)Lcom/mojang/datafixers/util/Pair;
    • updateMemoryMapValueEntry

      private com.mojang.serialization.Dynamic<?> updateMemoryMapValueEntry(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official d Lalj;d(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;
      named updateMemoryMapValueEntry Lnet/minecraft/datafixer/fix/MemoryExpiryDataFix;updateMemoryMapValueEntry(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;