public class IglooMetadataRemovalFix
extends com.mojang.datafixers.DataFix
Constructor and Description |
---|
IglooMetadataRemovalFix(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
isIgloo(com.mojang.serialization.Dynamic<?> dynamic) |
protected com.mojang.datafixers.TypeRewriteRule |
makeRule() |
private static <T> com.mojang.serialization.Dynamic<T> |
removeIgloos(com.mojang.serialization.Dynamic<T> dynamic) |
private static <T> com.mojang.serialization.Dynamic<T> |
removeMetadata(com.mojang.serialization.Dynamic<T> dynamic) |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
public IglooMetadataRemovalFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
protected com.mojang.datafixers.TypeRewriteRule makeRule()
makeRule
in class com.mojang.datafixers.DataFix
private static <T> com.mojang.serialization.Dynamic<T> removeMetadata(com.mojang.serialization.Dynamic<T> dynamic)
private static <T> com.mojang.serialization.Dynamic<T> removeIgloos(com.mojang.serialization.Dynamic<T> dynamic)
private static boolean isIgloo(com.mojang.serialization.Dynamic<?> dynamic)