Package net.minecraft.world.gen.feature
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 cny
intermediary net/minecraft/class_5312
named net/minecraft/world/gen/feature/ConfiguredStructureFeature
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<ConfiguredStructureFeature<?,?>>
CODEC
FC
config
F
feature
static com.mojang.serialization.Codec<Supplier<ConfiguredStructureFeature<?,?>>>
REGISTRY_CODEC
static com.mojang.serialization.Codec<List<Supplier<ConfiguredStructureFeature<?,?>>>>
REGISTRY_ELEMENT_CODEC
-
Constructor Summary
Constructors Constructor Description ConfiguredStructureFeature(F feature, FC config)
-
Method Summary
Modifier and Type Method Description StructureStart<?>
tryPlaceStart(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos chunkPos, Biome biome, int referenceCount, StructureConfig structureConfig, HeightLimitView heightLimitView)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcny;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<Supplier<ConfiguredStructureFeature<?,?>>> REGISTRY_CODEC- Mappings:
Namespace Name Mixin selector official b
Lcny;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<List<Supplier<ConfiguredStructureFeature<?,?>>>> REGISTRY_ELEMENT_CODEC- Mappings:
Namespace Name Mixin selector official c
Lcny;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
- Mappings:
Namespace Name Mixin selector official d
Lcny;d:Lcqj;
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
- Mappings:
Namespace Name Mixin selector official e
Lcny;e:Lcrk;
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;
-
-
Constructor Details
-
ConfiguredStructureFeature
- Mappings:
Namespace Name Mixin selector official <init>
Lcny;<init>(Lcqj;Lcrk;)V
intermediary <init>
Lnet/minecraft/class_5312;<init>(Lnet/minecraft/class_3195;Lnet/minecraft/class_3037;)V
named <init>
Lnet/minecraft/world/gen/feature/ConfiguredStructureFeature;<init>(Lnet/minecraft/world/gen/feature/StructureFeature;Lnet/minecraft/world/gen/feature/FeatureConfig;)V
-
-
Method Details
-
tryPlaceStart
public StructureStart<?> tryPlaceStart(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos chunkPos, Biome biome, int referenceCount, StructureConfig structureConfig, HeightLimitView heightLimitView)- See Also:
StructureFeature.tryPlaceStart(net.minecraft.util.registry.DynamicRegistryManager, net.minecraft.world.gen.chunk.ChunkGenerator, net.minecraft.world.biome.source.BiomeSource, net.minecraft.structure.StructureManager, long, net.minecraft.util.math.ChunkPos, net.minecraft.world.biome.Biome, int, net.minecraft.world.gen.ChunkRandom, net.minecraft.world.gen.chunk.StructureConfig, C, net.minecraft.world.HeightLimitView)
- Mappings:
Namespace Name Mixin selector official a
Lcny;a(Lgo;Lcjn;Lbux;Lcyj;JLbta;Lbuu;ILcsm;Lbtx;)Lcxi;
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;Lnet/minecraft/class_1959;ILnet/minecraft/class_5314;Lnet/minecraft/class_5539;)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;Lnet/minecraft/world/biome/Biome;ILnet/minecraft/world/gen/chunk/StructureConfig;Lnet/minecraft/world/HeightLimitView;)Lnet/minecraft/structure/StructureStart;
-