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

    Constructors
    Constructor
    Description
    MissingDimensionFix(com.mojang.datafixers.schemas.Schema p_i241230_1_, boolean p_i241230_2_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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_)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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>,com.mojang.serialization.Dynamic<?>>> optionalFields(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>,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_)
    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • recreateSettings

      private <T> com.mojang.serialization.Dynamic<T> recreateSettings(com.mojang.serialization.Dynamic<T> p_241311_1_)