Class BoatSplitFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.BoatSplitFix

public class BoatSplitFix extends com.mojang.datafixers.DataFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    BoatSplitFix(com.mojang.datafixers.schemas.Schema p_376293_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static boolean
    isAnyBoat(String p_376775_)
     
    private static boolean
    isChestBoat(String p_376209_)
     
    private static boolean
    isNormalBoat(String p_376165_)
     
    com.mojang.datafixers.TypeRewriteRule
     
    private static String
     
    private static 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
  • Constructor Details

    • BoatSplitFix

      public BoatSplitFix(com.mojang.datafixers.schemas.Schema p_376293_)
  • Method Details

    • isNormalBoat

      private static boolean isNormalBoat(String p_376165_)
    • isChestBoat

      private static boolean isChestBoat(String p_376209_)
    • isAnyBoat

      private static boolean isAnyBoat(String p_376775_)
    • mapVariantToNormalBoat

      private static String mapVariantToNormalBoat(String p_376825_)
    • mapVariantToChestBoat

      private static String mapVariantToChestBoat(String p_376447_)
    • makeRule

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