Class ConfiguredStructureFeature<FC extends FeatureConfig,F extends StructureFeature<FC>>

java.lang.Object
net.minecraft.world.gen.feature.ConfiguredStructureFeature<FC,F>

public class ConfiguredStructureFeature<FC extends FeatureConfig,F extends StructureFeature<FC>> extends Object
Mappings:
Namespace Name
official cwr
intermediary net/minecraft/class_5312
named net/minecraft/world/gen/feature/ConfiguredStructureFeature
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<ConfiguredStructureFeature<?,?>> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcwr;a:Lcom/mojang/serialization/Codec;
      intermediary field_25834 Lnet/minecraft/class_5312;field_25834:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/feature/ConfiguredStructureFeature;CODEC:Lcom/mojang/serialization/Codec;
    • REGISTRY_CODEC

      public static final com.mojang.serialization.Codec<RegistryEntry<ConfiguredStructureFeature<?,?>>> REGISTRY_CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Lcwr;b:Lcom/mojang/serialization/Codec;
      intermediary field_24834 Lnet/minecraft/class_5312;field_24834:Lcom/mojang/serialization/Codec;
      named REGISTRY_CODEC Lnet/minecraft/world/gen/feature/ConfiguredStructureFeature;REGISTRY_CODEC:Lcom/mojang/serialization/Codec;
    • REGISTRY_ELEMENT_CODEC

      public static final com.mojang.serialization.Codec<RegistryEntryList<ConfiguredStructureFeature<?,?>>> REGISTRY_ELEMENT_CODEC
      Mappings:
      Namespace Name Mixin selector
      official c Lcwr;c:Lcom/mojang/serialization/Codec;
      intermediary field_26757 Lnet/minecraft/class_5312;field_26757:Lcom/mojang/serialization/Codec;
      named REGISTRY_ELEMENT_CODEC Lnet/minecraft/world/gen/feature/ConfiguredStructureFeature;REGISTRY_ELEMENT_CODEC:Lcom/mojang/serialization/Codec;
    • feature

      public final F extends StructureFeature<FC> feature
      Mappings:
      Namespace Name Mixin selector
      official d Lcwr;d:Lczd;
      intermediary field_24835 Lnet/minecraft/class_5312;field_24835:Lnet/minecraft/class_3195;
      named feature Lnet/minecraft/world/gen/feature/ConfiguredStructureFeature;feature:Lnet/minecraft/world/gen/feature/StructureFeature;
    • config

      public final FC extends FeatureConfig config
      Mappings:
      Namespace Name Mixin selector
      official e Lcwr;e:Lczz;
      intermediary field_24836 Lnet/minecraft/class_5312;field_24836:Lnet/minecraft/class_3037;
      named config Lnet/minecraft/world/gen/feature/ConfiguredStructureFeature;config:Lnet/minecraft/world/gen/feature/FeatureConfig;
    • biomes

      public final RegistryEntryList<Biome> biomes
      Mappings:
      Namespace Name Mixin selector
      official f Lcwr;f:Lgt;
      intermediary field_36629 Lnet/minecraft/class_5312;field_36629:Lnet/minecraft/class_6885;
      named biomes Lnet/minecraft/world/gen/feature/ConfiguredStructureFeature;biomes:Lnet/minecraft/util/registry/RegistryEntryList;
    • field_37143

      public final Map<SpawnGroup,StructureSpawns> field_37143
      Mappings:
      Namespace Name Mixin selector
      official g Lcwr;g:Ljava/util/Map;
      intermediary field_37143 Lnet/minecraft/class_5312;field_37143:Ljava/util/Map;
      named field_37143 Lnet/minecraft/world/gen/feature/ConfiguredStructureFeature;field_37143:Ljava/util/Map;
    • field_37144

      public final boolean field_37144
      Mappings:
      Namespace Name Mixin selector
      official h Lcwr;h:Z
      intermediary field_37144 Lnet/minecraft/class_5312;field_37144:Z
      named field_37144 Lnet/minecraft/world/gen/feature/ConfiguredStructureFeature;field_37144:Z
  • Constructor Details

    • ConfiguredStructureFeature

      public ConfiguredStructureFeature(F feature, FC config, RegistryEntryList<Biome> biomes, boolean bool, Map<SpawnGroup,StructureSpawns> map)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcwr;<init>(Lczd;Lczz;Lgt;ZLjava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_5312;<init>(Lnet/minecraft/class_3195;Lnet/minecraft/class_3037;Lnet/minecraft/class_6885;ZLjava/util/Map;)V
      named <init> Lnet/minecraft/world/gen/feature/ConfiguredStructureFeature;<init>(Lnet/minecraft/world/gen/feature/StructureFeature;Lnet/minecraft/world/gen/feature/FeatureConfig;Lnet/minecraft/util/registry/RegistryEntryList;ZLjava/util/Map;)V
  • Method Details

    • tryPlaceStart

      public StructureStart tryPlaceStart(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos chunkPos, int structureReferences, HeightLimitView world, Predicate<RegistryEntry<Biome>> biomePredicate)
      See Also:
      • invalid @see
        StructureFeature#tryPlaceStart
      Mappings:
      Namespace Name Mixin selector
      official a Lcwr;a(Lhc;Lcqr;Lcbv;Ldhr;JLcac;ILcax;Ljava/util/function/Predicate;)Ldfr;
      intermediary method_28622 Lnet/minecraft/class_5312;method_28622(Lnet/minecraft/class_5455;Lnet/minecraft/class_2794;Lnet/minecraft/class_1966;Lnet/minecraft/class_3485;JLnet/minecraft/class_1923;ILnet/minecraft/class_5539;Ljava/util/function/Predicate;)Lnet/minecraft/class_3449;
      named tryPlaceStart Lnet/minecraft/world/gen/feature/ConfiguredStructureFeature;tryPlaceStart(Lnet/minecraft/util/registry/DynamicRegistryManager;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/world/biome/source/BiomeSource;Lnet/minecraft/structure/StructureManager;JLnet/minecraft/util/math/ChunkPos;ILnet/minecraft/world/HeightLimitView;Ljava/util/function/Predicate;)Lnet/minecraft/structure/StructureStart;
    • getBiomes

      public RegistryEntryList<Biome> getBiomes()
      Mappings:
      Namespace Name Mixin selector
      official a Lcwr;a()Lgt;
      intermediary method_40549 Lnet/minecraft/class_5312;method_40549()Lnet/minecraft/class_6885;
      named getBiomes Lnet/minecraft/world/gen/feature/ConfiguredStructureFeature;getBiomes()Lnet/minecraft/util/registry/RegistryEntryList;
    • method_41129

      public BlockBox method_41129(BlockBox blockBox)
      Mappings:
      Namespace Name Mixin selector
      official a Lcwr;a(Ldeo;)Ldeo;
      intermediary method_41129 Lnet/minecraft/class_5312;method_41129(Lnet/minecraft/class_3341;)Lnet/minecraft/class_3341;
      named method_41129 Lnet/minecraft/world/gen/feature/ConfiguredStructureFeature;method_41129(Lnet/minecraft/util/math/BlockBox;)Lnet/minecraft/util/math/BlockBox;