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 bke
  • Field Details

    • VILLAGE_STRUCTURE_ID

      private static final String 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 Lbke;a:Ljava/lang/String;
    • DESERT_PYRAMID_STRUCTURE_ID

      private static final 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 Lbke;b:Ljava/lang/String;
    • IGLOO_STRUCTURE_ID

      private static final 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 Lbke;c:Ljava/lang/String;
    • JUNGLE_PYRAMID_STRUCTURE_ID

      private static final 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 Lbke;d:Ljava/lang/String;
    • SWAMP_HUT_STRUCTURE_ID

      private static final 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 Lbke;e:Ljava/lang/String;
    • PILLAGER_OUTPOST_STRUCTURE_ID

      private static final 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 Lbke;f:Ljava/lang/String;
    • END_CITY_STRUCTURE_ID

      private static final 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 Lbke;g:Ljava/lang/String;
    • MANSION_STRUCTURE_ID

      private static final 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 Lbke;h:Ljava/lang/String;
    • MONUMENT_STRUCTURE_ID

      private static final 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 Lbke;i:Ljava/lang/String;
    • STRUCTURE_SPACING

      private static final ImmutableMap<String,StructureSeparationDataFix.Information> 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 Lbke;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> Lbke;<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
    • 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 Lbke;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 Lbke;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 Lbke;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 Lbke;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 Lbke;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 Lbke;a(Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/OptionalDynamic;)Ljava/util/Map;
    • parseInt

      private static int parseInt(String string, int defaultValue)
      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 Lbke;a(Ljava/lang/String;I)I
    • parseInt

      private static int parseInt(String string, int defaultValue, int minValue)
      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 Lbke;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 Lbke;a(Ljava/util/Map;Ljava/lang/String;Ljava/lang/String;I)V