Package net.minecraft.util.datafix.fixes
Class LevelFlatGeneratorInfoFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.LevelFlatGeneratorInfoFix
public class LevelFlatGeneratorInfoFix
extends com.mojang.datafixers.DataFix
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.google.common.base.Splitter
private static final com.google.common.base.Splitter
(package private) static final String
private static final String
private static final com.google.common.base.Splitter
private static final com.google.common.base.Splitter
private static final com.google.common.base.Splitter
-
Constructor Summary
ConstructorDescriptionLevelFlatGeneratorInfoFix
(com.mojang.datafixers.schemas.Schema p_16344_, boolean p_16345_) -
Method Summary
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
-
GENERATOR_OPTIONS
- See Also:
-
DEFAULT
- See Also:
-
SPLITTER
private static final com.google.common.base.Splitter SPLITTER -
LAYER_SPLITTER
private static final com.google.common.base.Splitter LAYER_SPLITTER -
OLD_AMOUNT_SPLITTER
private static final com.google.common.base.Splitter OLD_AMOUNT_SPLITTER -
AMOUNT_SPLITTER
private static final com.google.common.base.Splitter AMOUNT_SPLITTER -
BLOCK_SPLITTER
private static final com.google.common.base.Splitter BLOCK_SPLITTER
-
-
Constructor Details
-
LevelFlatGeneratorInfoFix
public LevelFlatGeneratorInfoFix(com.mojang.datafixers.schemas.Schema p_16344_, boolean p_16345_)
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
fix
private com.mojang.serialization.Dynamic<?> fix(com.mojang.serialization.Dynamic<?> p_16353_) -
fixString
-