Class ChunkRenamesFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.ChunkRenamesFix

public class ChunkRenamesFix extends com.mojang.datafixers.DataFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChunkRenamesFix(com.mojang.datafixers.schemas.Schema p_185100_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static <A> com.mojang.datafixers.Typed<com.mojang.datafixers.util.Pair<String,A>>
    appendChunkName(com.mojang.datafixers.Typed<A> p_185107_)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    private static <T> com.mojang.serialization.Dynamic<T>
    mergeRemainders(com.mojang.datafixers.Typed<?> p_185109_, com.mojang.serialization.Dynamic<T> p_185110_)
     
    private static com.mojang.datafixers.Typed<?>
    renameField(com.mojang.datafixers.Typed<?> p_185112_, String p_185113_, String p_185114_)
     
    private static <A> com.mojang.datafixers.Typed<?>
    renameFieldHelper(com.mojang.datafixers.Typed<?> p_185116_, String p_185117_, String p_185118_, com.mojang.datafixers.types.Type<A> p_185119_)
     

    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

    • ChunkRenamesFix

      public ChunkRenamesFix(com.mojang.datafixers.schemas.Schema p_185100_)
  • Method Details

    • makeRule

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

      private static com.mojang.datafixers.Typed<?> renameField(com.mojang.datafixers.Typed<?> p_185112_, String p_185113_, String p_185114_)
    • renameFieldHelper

      private static <A> com.mojang.datafixers.Typed<?> renameFieldHelper(com.mojang.datafixers.Typed<?> p_185116_, String p_185117_, String p_185118_, com.mojang.datafixers.types.Type<A> p_185119_)
    • appendChunkName

      private static <A> com.mojang.datafixers.Typed<com.mojang.datafixers.util.Pair<String,A>> appendChunkName(com.mojang.datafixers.Typed<A> p_185107_)
    • mergeRemainders

      private static <T> com.mojang.serialization.Dynamic<T> mergeRemainders(com.mojang.datafixers.Typed<?> p_185109_, com.mojang.serialization.Dynamic<T> p_185110_)