Class StructureSettingsFlattenFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.StructureSettingsFlattenFix

public class StructureSettingsFlattenFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/StructureSettingsFlattenFix
intermediary net/minecraft/class_6867
official bjo
  • Constructor Summary

    Constructors
    Constructor
    Description
    StructureSettingsFlattenFix(com.mojang.datafixers.schemas.Schema outputSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>>
    fixDimensionEntry(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> dimensionEntry)
     
    private static com.mojang.serialization.Dynamic<?>
    fixStructures(com.mojang.serialization.Dynamic<?> structureSettingsDynamic)
     
    protected com.mojang.datafixers.TypeRewriteRule
     

    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

    • StructureSettingsFlattenFix

      public StructureSettingsFlattenFix(com.mojang.datafixers.schemas.Schema outputSchema)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/StructureSettingsFlattenFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      intermediary <init> Lnet/minecraft/class_6867;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      official <init> Lbjo;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
  • Method Details

    • makeRule

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

      private static com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> fixDimensionEntry(com.mojang.datafixers.util.Pair<com.mojang.serialization.Dynamic<?>,com.mojang.serialization.Dynamic<?>> dimensionEntry)
      Parameters:
      dimensionEntry - (dimension ID, dimension data)
      Mappings:
      Namespace Name Mixin selector
      named fixDimensionEntry Lnet/minecraft/datafixer/fix/StructureSettingsFlattenFix;fixDimensionEntry(Lcom/mojang/datafixers/util/Pair;)Lcom/mojang/datafixers/util/Pair;
      intermediary method_40116 Lnet/minecraft/class_6867;method_40116(Lcom/mojang/datafixers/util/Pair;)Lcom/mojang/datafixers/util/Pair;
      official a Lbjo;a(Lcom/mojang/datafixers/util/Pair;)Lcom/mojang/datafixers/util/Pair;
    • fixStructures

      private static com.mojang.serialization.Dynamic<?> fixStructures(com.mojang.serialization.Dynamic<?> structureSettingsDynamic)
      Mappings:
      Namespace Name Mixin selector
      named fixStructures Lnet/minecraft/datafixer/fix/StructureSettingsFlattenFix;fixStructures(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_40117 Lnet/minecraft/class_6867;method_40117(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbjo;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;