Package net.minecraft.datafixer.fix
Class WallPropertyFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.WallPropertyFix
public class WallPropertyFix
extends com.mojang.datafixers.DataFix
-
Field Summary
Fields Modifier and Type Field Description private static Set<String>
TARGET_BLOCK_IDS
-
Constructor Summary
Constructors Constructor Description WallPropertyFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
-
Method Summary
Modifier and Type Method 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)
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
-
Field Details
-
TARGET_BLOCK_IDS
-
-
Constructor Details
-
WallPropertyFix
public WallPropertyFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
booleanToWallType
-
updateWallValueReference
private static <T> com.mojang.serialization.Dynamic<T> updateWallValueReference(com.mojang.serialization.Dynamic<T> dynamic, String string) -
updateWallProperties
private static <T> com.mojang.serialization.Dynamic<T> updateWallProperties(com.mojang.serialization.Dynamic<T> dynamic)
-