Package net.minecraft.datafixer.fix
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 bjp
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Logger
private static final Map
<String, StructuresToConfiguredStructuresFix.Mapping> -
Constructor Summary
ConstructorDescriptionStructuresToConfiguredStructuresFix
(com.mojang.datafixers.schemas.Schema outputSchema) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.mojang.serialization.Dynamic
<?> fixChunk
(com.mojang.serialization.Dynamic<?> chunkDynamic) private com.mojang.serialization.Dynamic
<?> fixStructureReferences
(com.mojang.serialization.Dynamic<?> referencesDynamic, com.mojang.serialization.Dynamic<?> chunkDynamic) private com.mojang.serialization.Dynamic
<?> fixStructureStarts
(com.mojang.serialization.Dynamic<?> startsDynamic, com.mojang.serialization.Dynamic<?> chunkDynamic) getBiomeRepresentativeStructure
(com.mojang.serialization.Dynamic<?> chunkDynamic, StructuresToConfiguredStructuresFix.Mapping mappingForStructure) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
private @Nullable com.mojang.serialization.Dynamic
<?> mapStructureToConfiguredStructure
(com.mojang.serialization.Dynamic<?> structureIdDynamic, com.mojang.serialization.Dynamic<?> chunkDynamic) 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
-
Field Details
-
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
Lbjp;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
Lbjp;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>
Lbjp;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.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
Lbjp;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
Lbjp;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
Lbjp;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
Lbjp;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
Lbjp;a(Lcom/mojang/serialization/Dynamic;Lbjp$a;)Ljava/util/Optional;
-