Class ConfiguredStructureFeature<FC extends FeatureConfiguration,F extends StructureFeature<FC>>
java.lang.Object
net.minecraft.world.level.levelgen.feature.ConfiguredStructureFeature<FC,F>
public class ConfiguredStructureFeature<FC extends FeatureConfiguration,F extends StructureFeature<FC>>
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<Supplier<ConfiguredStructureFeature<?,?>>>
static com.mojang.serialization.Codec<ConfiguredStructureFeature<?,?>>
static com.mojang.serialization.Codec<List<Supplier<ConfiguredStructureFeature<?,?>>>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerate(RegistryAccess p_159525_, ChunkGenerator p_159526_, BiomeSource p_159527_, StructureManager p_159528_, long p_159529_, ChunkPos p_159530_, Biome p_159531_, int p_159532_, StructureFeatureConfiguration p_159533_, LevelHeightAccessor p_159534_)
-
Field Details
-
DIRECT_CODEC
-
CODEC
public static final com.mojang.serialization.Codec<Supplier<ConfiguredStructureFeature<?,?>>> CODEC -
LIST_CODEC
public static final com.mojang.serialization.Codec<List<Supplier<ConfiguredStructureFeature<?,?>>>> LIST_CODEC -
feature
-
config
-
-
Constructor Details
-
ConfiguredStructureFeature
-
-
Method Details
-
generate
public StructureStart<?> generate(RegistryAccess p_159525_, ChunkGenerator p_159526_, BiomeSource p_159527_, StructureManager p_159528_, long p_159529_, ChunkPos p_159530_, Biome p_159531_, int p_159532_, StructureFeatureConfiguration p_159533_, LevelHeightAccessor p_159534_)
-