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 pId) private static boolean
isNormalBoat
(String pId) com.mojang.datafixers.TypeRewriteRule
makeRule()
private static String
mapVariantToChestBoat
(String pVariant) private static String
mapVariantToNormalBoat
(String pVariant) 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 pOutputSchema)
-
-
Method Details
-
isNormalBoat
-
isChestBoat
-
isAnyBoat
-
mapVariantToNormalBoat
-
mapVariantToChestBoat
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-