Package net.minecraft.util.datafix.fixes
Class WallPropertyFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.WallPropertyFix
public class WallPropertyFix
extends com.mojang.datafixers.DataFix
-
Field Summary
-
Constructor Summary
ConstructorDescriptionWallPropertyFix
(com.mojang.datafixers.schemas.Schema p_17154_, boolean p_17155_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> com.mojang.serialization.Dynamic
<T> fixWallProperty
(com.mojang.serialization.Dynamic<T> p_17161_, String p_17162_) com.mojang.datafixers.TypeRewriteRule
makeRule()
private static String
mapProperty
(String p_17164_) private static <T> com.mojang.serialization.Dynamic
<T> upgradeBlockStateTag
(com.mojang.serialization.Dynamic<T> p_17159_) 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
-
WALL_BLOCKS
-
-
Constructor Details
-
WallPropertyFix
public WallPropertyFix(com.mojang.datafixers.schemas.Schema p_17154_, boolean p_17155_)
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
mapProperty
-
fixWallProperty
private static <T> com.mojang.serialization.Dynamic<T> fixWallProperty(com.mojang.serialization.Dynamic<T> p_17161_, String p_17162_) -
upgradeBlockStateTag
private static <T> com.mojang.serialization.Dynamic<T> upgradeBlockStateTag(com.mojang.serialization.Dynamic<T> p_17159_)
-