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
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<ConfiguredStructureFeature<?,?>>
CODEC
FC
config
F
feature
static com.mojang.serialization.Codec<List<Supplier<ConfiguredStructureFeature<?,?>>>>
field_26757
static com.mojang.serialization.Codec<Supplier<ConfiguredStructureFeature<?,?>>>
REGISTRY_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)
-
Field Details
-
CODEC
-
REGISTRY_CODEC
public static final com.mojang.serialization.Codec<Supplier<ConfiguredStructureFeature<?,?>>> REGISTRY_CODEC -
field_26757
public static final com.mojang.serialization.Codec<List<Supplier<ConfiguredStructureFeature<?,?>>>> field_26757 -
feature
-
config
-
-
Constructor Details
-
ConfiguredStructureFeature
-
-
Method Details
-
tryPlaceStart
public StructureStart<?> tryPlaceStart(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos chunkPos, Biome biome, int referenceCount, StructureConfig structureConfig)
-