Package net.minecraft.util.datafix.fixes
Class MemoryExpiryDataFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.NamedEntityFix
net.minecraft.util.datafix.fixes.MemoryExpiryDataFix
-
Constructor Summary
ConstructorDescriptionMemoryExpiryDataFix
(com.mojang.datafixers.schemas.Schema p_16405_, String p_16406_) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
MemoryExpiryDataFix
-
-
Method Details
-
fix
protected com.mojang.datafixers.Typed<?> fix(com.mojang.datafixers.Typed<?> p_16408_) - Specified by:
fix
in classNamedEntityFix
-
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_)
-