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

    Fields
    Modifier and Type
    Field
    Description
    private static final Set<String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    WallPropertyFix(com.mojang.datafixers.schemas.Schema p_17154_, boolean p_17155_)
     
  • Method Summary

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

    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

    • 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 class com.mojang.datafixers.DataFix
    • mapProperty

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