Class StructuresBecomeConfiguredFix

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

public class StructuresBecomeConfiguredFix extends com.mojang.datafixers.DataFix
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final record 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    private static final org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    StructuresBecomeConfiguredFix(com.mojang.datafixers.schemas.Schema p_207679_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private com.mojang.serialization.Dynamic<?>
    findUpdatedStructureType(com.mojang.serialization.Dynamic<?> p_207725_, com.mojang.serialization.Dynamic<?> p_339616_)
     
    private com.mojang.serialization.Dynamic<?>
    fix(com.mojang.serialization.Dynamic<?> p_207692_)
     
    private Optional<String>
    guessConfiguration(com.mojang.serialization.Dynamic<?> p_207694_, StructuresBecomeConfiguredFix.Conversion p_207695_)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    private com.mojang.serialization.Dynamic<?>
    updateReferences(com.mojang.serialization.Dynamic<?> p_207717_, com.mojang.serialization.Dynamic<?> p_207718_)
     
    private com.mojang.serialization.Dynamic<?>
    updateStarts(com.mojang.serialization.Dynamic<?> p_207700_, com.mojang.serialization.Dynamic<?> p_207701_)
     

    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
  • Field Details

  • Constructor Details

    • StructuresBecomeConfiguredFix

      public StructuresBecomeConfiguredFix(com.mojang.datafixers.schemas.Schema p_207679_)
  • Method Details

    • makeRule

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

      private com.mojang.serialization.Dynamic<?> fix(com.mojang.serialization.Dynamic<?> p_207692_)
    • updateStarts

      private com.mojang.serialization.Dynamic<?> updateStarts(com.mojang.serialization.Dynamic<?> p_207700_, com.mojang.serialization.Dynamic<?> p_207701_)
    • updateReferences

      private com.mojang.serialization.Dynamic<?> updateReferences(com.mojang.serialization.Dynamic<?> p_207717_, com.mojang.serialization.Dynamic<?> p_207718_)
    • findUpdatedStructureType

      @Nullable private com.mojang.serialization.Dynamic<?> findUpdatedStructureType(com.mojang.serialization.Dynamic<?> p_207725_, com.mojang.serialization.Dynamic<?> p_339616_)
    • guessConfiguration

      private Optional<String> guessConfiguration(com.mojang.serialization.Dynamic<?> p_207694_, StructuresBecomeConfiguredFix.Conversion p_207695_)