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_16420_, boolean p_16421_) -
Method Summary
Modifier and TypeMethodDescriptionprotected static <A> com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<A,
com.mojang.serialization.Dynamic<?>>> protected static com.mojang.datafixers.types.Type<? extends com.mojang.datafixers.util.Pair<? extends com.mojang.datafixers.util.Either<? extends com.mojang.datafixers.util.Pair<? extends com.mojang.datafixers.util.Either<?,
com.mojang.datafixers.util.Unit>, ? extends com.mojang.datafixers.util.Pair<? extends com.mojang.datafixers.util.Either<? extends List<? extends com.mojang.datafixers.util.Pair<? extends com.mojang.datafixers.util.Either<?, com.mojang.datafixers.util.Unit>, com.mojang.serialization.Dynamic<?>>>, com.mojang.datafixers.util.Unit>, com.mojang.serialization.Dynamic<?>>>, com.mojang.datafixers.util.Unit>, com.mojang.serialization.Dynamic<?>>> flatType
(com.mojang.datafixers.schemas.Schema p_185131_) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
protected 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_16447_, com.mojang.datafixers.types.Type<A> p_16448_) protected 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_16442_, com.mojang.datafixers.types.Type<A1> p_16443_, String p_16444_, com.mojang.datafixers.types.Type<A2> p_16445_) private <T> com.mojang.serialization.Dynamic<T>
recreateSettings
(com.mojang.serialization.Dynamic<T> p_16437_) 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_16420_, boolean p_16421_)
-
-
Method Details
-
fields
protected static <A> com.mojang.datafixers.types.Type<com.mojang.datafixers.util.Pair<A,com.mojang.serialization.Dynamic<?>>> fields(String p_16439_, com.mojang.datafixers.types.Type<A> p_16440_) -
optionalFields
protected 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_16447_, com.mojang.datafixers.types.Type<A> p_16448_) -
optionalFields
protected 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_16442_, com.mojang.datafixers.types.Type<A1> p_16443_, String p_16444_, com.mojang.datafixers.types.Type<A2> p_16445_) -
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
flatType
protected static com.mojang.datafixers.types.Type<? extends com.mojang.datafixers.util.Pair<? extends com.mojang.datafixers.util.Either<? extends com.mojang.datafixers.util.Pair<? extends com.mojang.datafixers.util.Either<?,com.mojang.datafixers.util.Unit>, flatType? extends com.mojang.datafixers.util.Pair<? extends com.mojang.datafixers.util.Either<? extends List<? extends com.mojang.datafixers.util.Pair<? extends com.mojang.datafixers.util.Either<?, com.mojang.datafixers.util.Unit>, com.mojang.serialization.Dynamic<?>>>, com.mojang.datafixers.util.Unit>, com.mojang.serialization.Dynamic<?>>>, com.mojang.datafixers.util.Unit>, com.mojang.serialization.Dynamic<?>>> (com.mojang.datafixers.schemas.Schema p_185131_) -
recreateSettings
private <T> com.mojang.serialization.Dynamic<T> recreateSettings(com.mojang.serialization.Dynamic<T> p_16437_)
-