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
     
  • 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.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> p_207724_, com.mojang.serialization.Dynamic<?> p_207725_)
     
    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.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>>
    updateReference(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> p_207711_, com.mojang.serialization.Dynamic<?> p_207712_)
     
    private com.mojang.serialization.Dynamic<?>
    updateReferences(com.mojang.serialization.Dynamic<?> p_207717_, com.mojang.serialization.Dynamic<?> p_207718_)
     
    private com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>>
    updateStart(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> p_207685_, com.mojang.serialization.Dynamic<?> p_207686_)
     
    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_)
    • updateStart

      private com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> updateStart(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> p_207685_, com.mojang.serialization.Dynamic<?> p_207686_)
    • updateReferences

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

      private com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> updateReference(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> p_207711_, com.mojang.serialization.Dynamic<?> p_207712_)
    • findUpdatedStructureType

      private com.mojang.serialization.Dynamic<?> findUpdatedStructureType(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> p_207724_, com.mojang.serialization.Dynamic<?> p_207725_)
    • guessConfiguration

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