Package net.minecraft.datafixer.fix
Class LevelFlatGeneratorInfoFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.LevelFlatGeneratorInfoFix
public class LevelFlatGeneratorInfoFix
extends com.mojang.datafixers.DataFix
-
Field Summary
Fields Modifier and Type Field Description private static Splitter
SPLIT_ON_ASTERISK
private static Splitter
SPLIT_ON_COLON
private static Splitter
SPLIT_ON_COMMA
private static Splitter
SPLIT_ON_LOWER_X
private static Splitter
SPLIT_ON_SEMICOLON
-
Constructor Summary
Constructors Constructor Description LevelFlatGeneratorInfoFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
-
Method Summary
Modifier and Type Method Description (package private) String
fixFlatGeneratorOptions(String generatorOptions)
private com.mojang.serialization.Dynamic<?>
fixGeneratorOptions(com.mojang.serialization.Dynamic<?> dynamic)
com.mojang.datafixers.TypeRewriteRule
makeRule()
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
-
Field Details
-
SPLIT_ON_SEMICOLON
-
SPLIT_ON_COMMA
-
SPLIT_ON_LOWER_X
-
SPLIT_ON_ASTERISK
-
SPLIT_ON_COLON
-
-
Constructor Details
-
LevelFlatGeneratorInfoFix
public LevelFlatGeneratorInfoFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
fixGeneratorOptions
private com.mojang.serialization.Dynamic<?> fixGeneratorOptions(com.mojang.serialization.Dynamic<?> dynamic) -
fixFlatGeneratorOptions
-