public class WallPropertyFix
extends com.mojang.datafixers.DataFix
Modifier and Type | Field and Description |
---|---|
private static Set<String> |
TARGET_BLOCK_IDS |
Constructor and Description |
---|
WallPropertyFix(com.mojang.datafixers.schemas.Schema outputSchema,
boolean changesType) |
Modifier and Type | Method and Description |
---|---|
private static String |
booleanToWallType(String value) |
com.mojang.datafixers.TypeRewriteRule |
makeRule() |
private static <T> com.mojang.serialization.Dynamic<T> |
updateWallProperties(com.mojang.serialization.Dynamic<T> dynamic) |
private static <T> com.mojang.serialization.Dynamic<T> |
updateWallValueReference(com.mojang.serialization.Dynamic<T> dynamic,
String string) |
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
public WallPropertyFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
public com.mojang.datafixers.TypeRewriteRule makeRule()
makeRule
in class com.mojang.datafixers.DataFix
private static <T> com.mojang.serialization.Dynamic<T> updateWallValueReference(com.mojang.serialization.Dynamic<T> dynamic, String string)
private static <T> com.mojang.serialization.Dynamic<T> updateWallProperties(com.mojang.serialization.Dynamic<T> dynamic)