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 pOutputSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static boolean
     
    private static boolean
     
    private static boolean
     
    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 pOutputSchema)
  • Method Details

    • isNormalBoat

      private static boolean isNormalBoat(String pId)
    • isChestBoat

      private static boolean isChestBoat(String pId)
    • isAnyBoat

      private static boolean isAnyBoat(String pId)
    • 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