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
Fields Modifier and Type Field Description private static java.util.Set<java.lang.String>
WALL_BLOCKS
-
Constructor Summary
Constructors Constructor Description WallProperty(com.mojang.datafixers.schemas.Schema p_i231468_1_, boolean p_i231468_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static <T> com.mojang.serialization.Dynamic<T>
fixWallProperty(com.mojang.serialization.Dynamic<T> p_233418_0_, java.lang.String p_233418_1_)
com.mojang.datafixers.TypeRewriteRule
makeRule()
private static java.lang.String
mapProperty(java.lang.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
-
-
-
-
Method Detail
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()
- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
mapProperty
private static java.lang.String mapProperty(java.lang.String p_233419_0_)
-
fixWallProperty
private static <T> com.mojang.serialization.Dynamic<T> fixWallProperty(com.mojang.serialization.Dynamic<T> p_233418_0_, java.lang.String p_233418_1_)
-
upgradeBlockStateTag
private static <T> com.mojang.serialization.Dynamic<T> upgradeBlockStateTag(com.mojang.serialization.Dynamic<T> p_233417_0_)
-
-