Class StructuresToConfiguredStructuresFix

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

public class StructuresToConfiguredStructuresFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix
intermediary net/minecraft/class_7046
official bhk
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix;LOGGER:Lorg/slf4j/Logger;
      intermediary field_51349 Lnet/minecraft/class_7046;field_51349:Lorg/slf4j/Logger;
      official a Lbhk;a:Lorg/slf4j/Logger;
    • STRUCTURE_TO_CONFIGURED_STRUCTURES_MAPPING

      private static final Map<String,StructuresToConfiguredStructuresFix.Mapping> STRUCTURE_TO_CONFIGURED_STRUCTURES_MAPPING
      Mappings:
      Namespace Name Mixin selector
      named STRUCTURE_TO_CONFIGURED_STRUCTURES_MAPPING Lnet/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix;STRUCTURE_TO_CONFIGURED_STRUCTURES_MAPPING:Ljava/util/Map;
      intermediary field_37050 Lnet/minecraft/class_7046;field_37050:Ljava/util/Map;
      official b Lbhk;b:Ljava/util/Map;
  • Constructor Details

    • StructuresToConfiguredStructuresFix

      public StructuresToConfiguredStructuresFix(com.mojang.datafixers.schemas.Schema outputSchema)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      intermediary <init> Lnet/minecraft/class_7046;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      official <init> Lbhk;<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
    • fixChunk

      private com.mojang.serialization.Dynamic<?> fixChunk(com.mojang.serialization.Dynamic<?> chunkDynamic)
      Mappings:
      Namespace Name Mixin selector
      named fixChunk Lnet/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix;fixChunk(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_41012 Lnet/minecraft/class_7046;method_41012(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbhk;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixStructureStarts

      private com.mojang.serialization.Dynamic<?> fixStructureStarts(com.mojang.serialization.Dynamic<?> startsDynamic, com.mojang.serialization.Dynamic<?> chunkDynamic)
      Mappings:
      Namespace Name Mixin selector
      named fixStructureStarts Lnet/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix;fixStructureStarts(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_41015 Lnet/minecraft/class_7046;method_41015(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbhk;a(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixStructureReferences

      private com.mojang.serialization.Dynamic<?> fixStructureReferences(com.mojang.serialization.Dynamic<?> referencesDynamic, com.mojang.serialization.Dynamic<?> chunkDynamic)
      Mappings:
      Namespace Name Mixin selector
      named fixStructureReferences Lnet/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix;fixStructureReferences(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_41020 Lnet/minecraft/class_7046;method_41020(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official b Lbhk;b(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • mapStructureToConfiguredStructure

      @Nullable private @Nullable com.mojang.serialization.Dynamic<?> mapStructureToConfiguredStructure(com.mojang.serialization.Dynamic<?> structureIdDynamic, com.mojang.serialization.Dynamic<?> chunkDynamic)
      Mappings:
      Namespace Name Mixin selector
      named mapStructureToConfiguredStructure Lnet/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix;mapStructureToConfiguredStructure(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_41022 Lnet/minecraft/class_7046;method_41022(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official c Lbhk;c(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • getBiomeRepresentativeStructure

      private Optional<String> getBiomeRepresentativeStructure(com.mojang.serialization.Dynamic<?> chunkDynamic, StructuresToConfiguredStructuresFix.Mapping mappingForStructure)
      Mappings:
      Namespace Name Mixin selector
      named getBiomeRepresentativeStructure Lnet/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix;getBiomeRepresentativeStructure(Lcom/mojang/serialization/Dynamic;Lnet/minecraft/datafixer/fix/StructuresToConfiguredStructuresFix$Mapping;)Ljava/util/Optional;
      intermediary method_41013 Lnet/minecraft/class_7046;method_41013(Lcom/mojang/serialization/Dynamic;Lnet/minecraft/class_7046$class_7047;)Ljava/util/Optional;
      official a Lbhk;a(Lcom/mojang/serialization/Dynamic;Lbhk$a;)Ljava/util/Optional;