Package net.minecraft.util.datafix.fixes
Class WallProperty
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.WallProperty
public class WallProperty
extends com.mojang.datafixers.DataFix
-
Field Summary
-
Constructor Summary
ConstructorDescriptionWallProperty
(com.mojang.datafixers.schemas.Schema p_i231468_1_, boolean p_i231468_2_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> com.mojang.serialization.Dynamic<T>
fixWallProperty
(com.mojang.serialization.Dynamic<T> p_233418_0_, String p_233418_1_) com.mojang.datafixers.TypeRewriteRule
makeRule()
private static String
mapProperty
(String p_233419_0_) private static <T> com.mojang.serialization.Dynamic<T>
upgradeBlockStateTag
(com.mojang.serialization.Dynamic<T> p_233417_0_) 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
-
WallProperty
public WallProperty(com.mojang.datafixers.schemas.Schema p_i231468_1_, boolean p_i231468_2_)
-
-
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_233418_0_, String p_233418_1_) -
upgradeBlockStateTag
private static <T> com.mojang.serialization.Dynamic<T> upgradeBlockStateTag(com.mojang.serialization.Dynamic<T> p_233417_0_)
-