Package net.minecraft.util.datafix.fixes
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 -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
private static boolean
isChestBoat
(String p_376209_) private static boolean
isNormalBoat
(String p_376165_) com.mojang.datafixers.TypeRewriteRule
makeRule()
private static String
mapVariantToChestBoat
(String p_376447_) private static String
mapVariantToNormalBoat
(String p_376825_) 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
-
Constructor Details
-
BoatSplitFix
public BoatSplitFix(com.mojang.datafixers.schemas.Schema p_376293_)
-
-
Method Details
-
isNormalBoat
-
isChestBoat
-
isAnyBoat
-
mapVariantToNormalBoat
-
mapVariantToChestBoat
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-