public class MemoryExpiryDataFix extends ChoiceFix
Constructor and Description |
---|
MemoryExpiryDataFix(com.mojang.datafixers.schemas.Schema outputSchema,
String choiceName) |
Modifier and Type | Method and 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) |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
public MemoryExpiryDataFix(com.mojang.datafixers.schemas.Schema outputSchema, String choiceName)
protected com.mojang.datafixers.Typed<?> transform(com.mojang.datafixers.Typed<?> inputType)
public 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.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)
private com.mojang.serialization.Dynamic<?> updateMemoryMapValueEntry(com.mojang.serialization.Dynamic<?> dynamic)