Class MemoryExpiry

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.NamedEntityFix
net.minecraft.util.datafix.fixes.MemoryExpiry

public class MemoryExpiry extends NamedEntityFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    MemoryExpiry(com.mojang.datafixers.schemas.Schema p_i231460_1_, String p_i231460_2_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.Typed<?>
    fix(com.mojang.datafixers.Typed<?> p_207419_1_)
     
    com.mojang.serialization.Dynamic<?>
    fixTag(com.mojang.serialization.Dynamic<?> p_233326_1_)
     
    private com.mojang.serialization.Dynamic<?>
    updateBrain(com.mojang.serialization.Dynamic<?> p_233327_1_)
     
    private com.mojang.serialization.Dynamic<?>
    updateMemories(com.mojang.serialization.Dynamic<?> p_233328_1_)
     
    private com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>>
    updateMemoryEntry(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> p_233325_1_)
     
    private com.mojang.serialization.Dynamic<?>
    wrapMemoryValue(com.mojang.serialization.Dynamic<?> p_233329_1_)
     

    Methods inherited from class net.minecraft.util.datafix.fixes.NamedEntityFix

    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

    • MemoryExpiry

      public MemoryExpiry(com.mojang.datafixers.schemas.Schema p_i231460_1_, String p_i231460_2_)
  • Method Details

    • fix

      protected com.mojang.datafixers.Typed<?> fix(com.mojang.datafixers.Typed<?> p_207419_1_)
      Specified by:
      fix in class NamedEntityFix
    • fixTag

      public com.mojang.serialization.Dynamic<?> fixTag(com.mojang.serialization.Dynamic<?> p_233326_1_)
    • updateBrain

      private com.mojang.serialization.Dynamic<?> updateBrain(com.mojang.serialization.Dynamic<?> p_233327_1_)
    • updateMemories

      private com.mojang.serialization.Dynamic<?> updateMemories(com.mojang.serialization.Dynamic<?> p_233328_1_)
    • updateMemoryEntry

      private com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> updateMemoryEntry(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> p_233325_1_)
    • wrapMemoryValue

      private com.mojang.serialization.Dynamic<?> wrapMemoryValue(com.mojang.serialization.Dynamic<?> p_233329_1_)