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 final Set<String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    WallProperty(com.mojang.datafixers.schemas.Schema p_i231468_1_, boolean p_i231468_2_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static <T> com.mojang.serialization.Dynamic<T>
    fixWallProperty(com.mojang.serialization.Dynamic<T> p_233418_0_, String p_233418_1_)
     
    com.mojang.datafixers.TypeRewriteRule
     
    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

    Methods inherited from class java.lang.Object

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

    • WALL_BLOCKS

      private static final Set<String> 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 class com.mojang.datafixers.DataFix
    • mapProperty

      private static String mapProperty(String p_233419_0_)
    • 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_)