Class MemoryExpiryDataFix

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

public class MemoryExpiryDataFix extends NamedEntityFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    MemoryExpiryDataFix​(com.mojang.datafixers.schemas.Schema p_16405_, String p_16406_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.Typed<?>
    fix​(com.mojang.datafixers.Typed<?> p_16408_)
     
    com.mojang.serialization.Dynamic<?>
    fixTag​(com.mojang.serialization.Dynamic<?> p_16412_)
     
    private com.mojang.serialization.Dynamic<?>
    updateBrain​(com.mojang.serialization.Dynamic<?> p_16414_)
     
    private com.mojang.serialization.Dynamic<?>
    updateMemories​(com.mojang.serialization.Dynamic<?> p_16416_)
     
    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_16410_)
     
    private com.mojang.serialization.Dynamic<?>
    wrapMemoryValue​(com.mojang.serialization.Dynamic<?> p_16418_)
     

    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

    • MemoryExpiryDataFix

      public MemoryExpiryDataFix(com.mojang.datafixers.schemas.Schema p_16405_, String p_16406_)
  • Method Details

    • fix

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

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

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

      private com.mojang.serialization.Dynamic<?> updateMemories(com.mojang.serialization.Dynamic<?> p_16416_)
    • 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_16410_)
    • wrapMemoryValue

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