Class WallPropertyFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.WallPropertyFix

public class WallPropertyFix
extends com.mojang.datafixers.DataFix
  • Field Summary

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

    Constructors
    Constructor Description
    WallPropertyFix​(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)  
  • Method Summary

    Modifier and Type Method Description
    private static String booleanToWallType​(String value)  
    com.mojang.datafixers.TypeRewriteRule makeRule()  
    private static <T> com.mojang.serialization.Dynamic<T> updateWallProperties​(com.mojang.serialization.Dynamic<T> dynamic)  
    private static <T> com.mojang.serialization.Dynamic<T> updateWallValueReference​(com.mojang.serialization.Dynamic<T> dynamic, String string)  

    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

    • TARGET_BLOCK_IDS

      private static final Set<String> TARGET_BLOCK_IDS
  • Constructor Details

    • WallPropertyFix

      public WallPropertyFix​(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
  • Method Details

    • makeRule

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • booleanToWallType

      private static String booleanToWallType​(String value)
    • updateWallValueReference

      private static <T> com.mojang.serialization.Dynamic<T> updateWallValueReference​(com.mojang.serialization.Dynamic<T> dynamic, String string)
    • updateWallProperties

      private static <T> com.mojang.serialization.Dynamic<T> updateWallProperties​(com.mojang.serialization.Dynamic<T> dynamic)