Package net.minecraft.datafixer.fix
Class StructureSeparationDataFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.StructureSeparationDataFix
public class StructureSeparationDataFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name named net/minecraft/datafixer/fix/StructureSeparationDataFix
intermediary net/minecraft/class_5299
official bhx
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final ImmutableMap
<String, StructureSeparationDataFix.Information> private static final String
private static final String
-
Constructor Summary
ConstructorDescriptionStructureSeparationDataFix
(com.mojang.datafixers.schemas.Schema outputSchema) -
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> com.mojang.serialization.Dynamic
<T> createBiomeSource
(com.mojang.serialization.Dynamic<T> worldGenSettingsDynamic, long seed, boolean legacyBiomeInitLayer, boolean largeBiomes) protected static <T> com.mojang.serialization.Dynamic
<T> createDefaultOverworldGeneratorSettings
(com.mojang.serialization.Dynamic<T> worldGenSettingsDynamic, long seed) protected static <T> T
createDimensionSettings
(com.mojang.serialization.Dynamic<T> worldGenSettingsDynamic, long seed, com.mojang.serialization.Dynamic<T> generatorSettingsDynamic, boolean caves) private static <T> Map
<com.mojang.serialization.Dynamic<T>, com.mojang.serialization.Dynamic<T>> createFlatWorldStructureSettings
(com.mojang.serialization.DynamicOps<T> worldGenSettingsDynamicOps, com.mojang.serialization.OptionalDynamic<T> generatorOptionsDynamic) private static <T> com.mojang.serialization.Dynamic
<T> createGeneratorSettings
(long seed, com.mojang.serialization.DynamicLike<T> worldGenSettingsDynamic, com.mojang.serialization.Dynamic<T> settingsDynamic, com.mojang.serialization.Dynamic<T> biomeSourceDynamic) private static void
insertStructureSettings
(Map<String, StructureSeparationDataFix.Information> map, String structureId, String spacingStr, int minSpacing) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
private static int
private static int
private static <T> com.mojang.serialization.Dynamic
<T> updateWorldGenSettings
(com.mojang.serialization.Dynamic<T> worldGenSettingsDynamic) 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
-
VILLAGE_STRUCTURE_ID
- See Also:
- Mappings:
Namespace Name Mixin selector named VILLAGE_STRUCTURE_ID
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;VILLAGE_STRUCTURE_ID:Ljava/lang/String;
intermediary field_29915
Lnet/minecraft/class_5299;field_29915:Ljava/lang/String;
official a
Lbhx;a:Ljava/lang/String;
-
DESERT_PYRAMID_STRUCTURE_ID
- See Also:
- Mappings:
Namespace Name Mixin selector named DESERT_PYRAMID_STRUCTURE_ID
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;DESERT_PYRAMID_STRUCTURE_ID:Ljava/lang/String;
intermediary field_29916
Lnet/minecraft/class_5299;field_29916:Ljava/lang/String;
official b
Lbhx;b:Ljava/lang/String;
-
IGLOO_STRUCTURE_ID
- See Also:
- Mappings:
Namespace Name Mixin selector named IGLOO_STRUCTURE_ID
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;IGLOO_STRUCTURE_ID:Ljava/lang/String;
intermediary field_29917
Lnet/minecraft/class_5299;field_29917:Ljava/lang/String;
official c
Lbhx;c:Ljava/lang/String;
-
JUNGLE_PYRAMID_STRUCTURE_ID
- See Also:
- Mappings:
Namespace Name Mixin selector named JUNGLE_PYRAMID_STRUCTURE_ID
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;JUNGLE_PYRAMID_STRUCTURE_ID:Ljava/lang/String;
intermediary field_29918
Lnet/minecraft/class_5299;field_29918:Ljava/lang/String;
official d
Lbhx;d:Ljava/lang/String;
-
SWAMP_HUT_STRUCTURE_ID
- See Also:
- Mappings:
Namespace Name Mixin selector named SWAMP_HUT_STRUCTURE_ID
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;SWAMP_HUT_STRUCTURE_ID:Ljava/lang/String;
intermediary field_29919
Lnet/minecraft/class_5299;field_29919:Ljava/lang/String;
official e
Lbhx;e:Ljava/lang/String;
-
PILLAGER_OUTPOST_STRUCTURE_ID
- See Also:
- Mappings:
Namespace Name Mixin selector named PILLAGER_OUTPOST_STRUCTURE_ID
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;PILLAGER_OUTPOST_STRUCTURE_ID:Ljava/lang/String;
intermediary field_29920
Lnet/minecraft/class_5299;field_29920:Ljava/lang/String;
official f
Lbhx;f:Ljava/lang/String;
-
END_CITY_STRUCTURE_ID
- See Also:
- Mappings:
Namespace Name Mixin selector named END_CITY_STRUCTURE_ID
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;END_CITY_STRUCTURE_ID:Ljava/lang/String;
intermediary field_29921
Lnet/minecraft/class_5299;field_29921:Ljava/lang/String;
official g
Lbhx;g:Ljava/lang/String;
-
MANSION_STRUCTURE_ID
- See Also:
- Mappings:
Namespace Name Mixin selector named MANSION_STRUCTURE_ID
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;MANSION_STRUCTURE_ID:Ljava/lang/String;
intermediary field_29922
Lnet/minecraft/class_5299;field_29922:Ljava/lang/String;
official h
Lbhx;h:Ljava/lang/String;
-
MONUMENT_STRUCTURE_ID
- See Also:
- Mappings:
Namespace Name Mixin selector named MONUMENT_STRUCTURE_ID
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;MONUMENT_STRUCTURE_ID:Ljava/lang/String;
intermediary field_29923
Lnet/minecraft/class_5299;field_29923:Ljava/lang/String;
official i
Lbhx;i:Ljava/lang/String;
-
STRUCTURE_SPACING
- Mappings:
Namespace Name Mixin selector named STRUCTURE_SPACING
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;STRUCTURE_SPACING:Lcom/google/common/collect/ImmutableMap;
intermediary field_24647
Lnet/minecraft/class_5299;field_24647:Lcom/google/common/collect/ImmutableMap;
official j
Lbhx;j:Lcom/google/common/collect/ImmutableMap;
-
-
Constructor Details
-
StructureSeparationDataFix
public StructureSeparationDataFix(com.mojang.datafixers.schemas.Schema outputSchema) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
intermediary <init>
Lnet/minecraft/class_5299;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
official <init>
Lbhx;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
createGeneratorSettings
private static <T> com.mojang.serialization.Dynamic<T> createGeneratorSettings(long seed, com.mojang.serialization.DynamicLike<T> worldGenSettingsDynamic, com.mojang.serialization.Dynamic<T> settingsDynamic, com.mojang.serialization.Dynamic<T> biomeSourceDynamic) - Mappings:
Namespace Name Mixin selector named createGeneratorSettings
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;createGeneratorSettings(JLcom/mojang/serialization/DynamicLike;Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_28268
Lnet/minecraft/class_5299;method_28268(JLcom/mojang/serialization/DynamicLike;Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official a
Lbhx;a(JLcom/mojang/serialization/DynamicLike;Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
createBiomeSource
private static <T> com.mojang.serialization.Dynamic<T> createBiomeSource(com.mojang.serialization.Dynamic<T> worldGenSettingsDynamic, long seed, boolean legacyBiomeInitLayer, boolean largeBiomes) - Mappings:
Namespace Name Mixin selector named createBiomeSource
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;createBiomeSource(Lcom/mojang/serialization/Dynamic;JZZ)Lcom/mojang/serialization/Dynamic;
intermediary method_28272
Lnet/minecraft/class_5299;method_28272(Lcom/mojang/serialization/Dynamic;JZZ)Lcom/mojang/serialization/Dynamic;
official a
Lbhx;a(Lcom/mojang/serialization/Dynamic;JZZ)Lcom/mojang/serialization/Dynamic;
-
updateWorldGenSettings
private static <T> com.mojang.serialization.Dynamic<T> updateWorldGenSettings(com.mojang.serialization.Dynamic<T> worldGenSettingsDynamic) - Mappings:
Namespace Name Mixin selector named updateWorldGenSettings
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;updateWorldGenSettings(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_28271
Lnet/minecraft/class_5299;method_28271(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official a
Lbhx;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
createDefaultOverworldGeneratorSettings
protected static <T> com.mojang.serialization.Dynamic<T> createDefaultOverworldGeneratorSettings(com.mojang.serialization.Dynamic<T> worldGenSettingsDynamic, long seed) - Mappings:
Namespace Name Mixin selector named createDefaultOverworldGeneratorSettings
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;createDefaultOverworldGeneratorSettings(Lcom/mojang/serialization/Dynamic;J)Lcom/mojang/serialization/Dynamic;
intermediary method_29916
Lnet/minecraft/class_5299;method_29916(Lcom/mojang/serialization/Dynamic;J)Lcom/mojang/serialization/Dynamic;
official a
Lbhx;a(Lcom/mojang/serialization/Dynamic;J)Lcom/mojang/serialization/Dynamic;
-
createDimensionSettings
protected static <T> T createDimensionSettings(com.mojang.serialization.Dynamic<T> worldGenSettingsDynamic, long seed, com.mojang.serialization.Dynamic<T> generatorSettingsDynamic, boolean caves) - Mappings:
Namespace Name Mixin selector named createDimensionSettings
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;createDimensionSettings(Lcom/mojang/serialization/Dynamic;JLcom/mojang/serialization/Dynamic;Z)Ljava/lang/Object;
intermediary method_29917
Lnet/minecraft/class_5299;method_29917(Lcom/mojang/serialization/Dynamic;JLcom/mojang/serialization/Dynamic;Z)Ljava/lang/Object;
official a
Lbhx;a(Lcom/mojang/serialization/Dynamic;JLcom/mojang/serialization/Dynamic;Z)Ljava/lang/Object;
-
createFlatWorldStructureSettings
private static <T> Map<com.mojang.serialization.Dynamic<T>,com.mojang.serialization.Dynamic<T>> createFlatWorldStructureSettings(com.mojang.serialization.DynamicOps<T> worldGenSettingsDynamicOps, com.mojang.serialization.OptionalDynamic<T> generatorOptionsDynamic) - Mappings:
Namespace Name Mixin selector named createFlatWorldStructureSettings
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;createFlatWorldStructureSettings(Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/OptionalDynamic;)Ljava/util/Map;
intermediary method_28275
Lnet/minecraft/class_5299;method_28275(Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/OptionalDynamic;)Ljava/util/Map;
official a
Lbhx;a(Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/OptionalDynamic;)Ljava/util/Map;
-
parseInt
- Mappings:
Namespace Name Mixin selector named parseInt
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;parseInt(Ljava/lang/String;I)I
intermediary method_28279
Lnet/minecraft/class_5299;method_28279(Ljava/lang/String;I)I
official a
Lbhx;a(Ljava/lang/String;I)I
-
parseInt
- Mappings:
Namespace Name Mixin selector named parseInt
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;parseInt(Ljava/lang/String;II)I
intermediary method_28280
Lnet/minecraft/class_5299;method_28280(Ljava/lang/String;II)I
official a
Lbhx;a(Ljava/lang/String;II)I
-
insertStructureSettings
private static void insertStructureSettings(Map<String, StructureSeparationDataFix.Information> map, String structureId, String spacingStr, int minSpacing) - Mappings:
Namespace Name Mixin selector named insertStructureSettings
Lnet/minecraft/datafixer/fix/StructureSeparationDataFix;insertStructureSettings(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;I)V
intermediary method_28281
Lnet/minecraft/class_5299;method_28281(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;I)V
official a
Lbhx;a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;I)V
-