Package net.minecraft.util.datafix.fixes
Class MissingDimensionFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.MissingDimensionFix
public class MissingDimensionFix
extends com.mojang.datafixers.DataFix
-
Constructor Summary
ConstructorDescriptionMissingDimensionFix
(com.mojang.datafixers.schemas.Schema p_i241230_1_, boolean p_i241230_2_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static <A> com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<A,
com.mojang.serialization.Dynamic<?>>> protected com.mojang.datafixers.TypeRewriteRule
makeRule()
private static <A> com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<com.mojang.datafixers.util.Either<A,
com.mojang.datafixers.util.Unit>, com.mojang.serialization.Dynamic<?>>> optionalFields
(String p_241314_0_, com.mojang.datafixers.types.Type<A> p_241314_1_) private static <A1,
A2> com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<com.mojang.datafixers.util.Either<A1, com.mojang.datafixers.util.Unit>, com.mojang.datafixers.util.Pair<com.mojang.datafixers.util.Either<A2, com.mojang.datafixers.util.Unit>, com.mojang.serialization.Dynamic<?>>>> optionalFields
(String p_241313_0_, com.mojang.datafixers.types.Type<A1> p_241313_1_, String p_241313_2_, com.mojang.datafixers.types.Type<A2> p_241313_3_) private <T> com.mojang.serialization.Dynamic<T>
recreateSettings
(com.mojang.serialization.Dynamic<T> p_241311_1_) 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
-
MissingDimensionFix
public MissingDimensionFix(com.mojang.datafixers.schemas.Schema p_i241230_1_, boolean p_i241230_2_)
-
-
Method Details
-
fields
private static <A> com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<A,com.mojang.serialization.Dynamic<?>>> fields(String p_241312_0_, com.mojang.datafixers.types.Type<A> p_241312_1_) -
optionalFields
private static <A> com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<com.mojang.datafixers.util.Either<A,com.mojang.datafixers.util.Unit>, optionalFieldscom.mojang.serialization.Dynamic<?>>> (String p_241314_0_, com.mojang.datafixers.types.Type<A> p_241314_1_) -
optionalFields
private static <A1,A2> com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<com.mojang.datafixers.util.Either<A1,com.mojang.datafixers.util.Unit>, optionalFieldscom.mojang.datafixers.util.Pair<com.mojang.datafixers.util.Either<A2, com.mojang.datafixers.util.Unit>, com.mojang.serialization.Dynamic<?>>>> (String p_241313_0_, com.mojang.datafixers.types.Type<A1> p_241313_1_, String p_241313_2_, com.mojang.datafixers.types.Type<A2> p_241313_3_) -
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
recreateSettings
private <T> com.mojang.serialization.Dynamic<T> recreateSettings(com.mojang.serialization.Dynamic<T> p_241311_1_)
-