Class 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • WALL_BLOCKS

        private static final java.util.Set<java.lang.String> WALL_BLOCKS
    • Constructor Detail

      • WallProperty

        public WallProperty​(com.mojang.datafixers.schemas.Schema p_i231468_1_,
                            boolean p_i231468_2_)
    • Method Detail

      • makeRule

        public com.mojang.datafixers.TypeRewriteRule makeRule()
        Specified by:
        makeRule in class com.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_)