Package net.minecraft.world.gen.feature
Class StructureFeature<FC extends IFeatureConfig,F extends Structure<FC>>
- java.lang.Object
-
- net.minecraft.world.gen.feature.StructureFeature<FC,F>
-
public class StructureFeature<FC extends IFeatureConfig,F extends Structure<FC>> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<java.util.function.Supplier<StructureFeature<?,?>>>
CODEC
FC
config
static com.mojang.serialization.Codec<StructureFeature<?,?>>
DIRECT_CODEC
F
feature
static com.mojang.serialization.Codec<java.util.List<java.util.function.Supplier<StructureFeature<?,?>>>>
LIST_CODEC
-
Constructor Summary
Constructors Constructor Description StructureFeature(F p_i231937_1_, FC p_i231937_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructureStart<?>
generate(DynamicRegistries p_242771_1_, ChunkGenerator p_242771_2_, BiomeProvider p_242771_3_, TemplateManager p_242771_4_, long p_242771_5_, ChunkPos p_242771_7_, Biome p_242771_8_, int p_242771_9_, StructureSeparationSettings p_242771_10_)
-
-
-
Field Detail
-
DIRECT_CODEC
public static final com.mojang.serialization.Codec<StructureFeature<?,?>> DIRECT_CODEC
-
CODEC
public static final com.mojang.serialization.Codec<java.util.function.Supplier<StructureFeature<?,?>>> CODEC
-
LIST_CODEC
public static final com.mojang.serialization.Codec<java.util.List<java.util.function.Supplier<StructureFeature<?,?>>>> LIST_CODEC
-
config
public final FC extends IFeatureConfig config
-
-
Method Detail
-
generate
public StructureStart<?> generate(DynamicRegistries p_242771_1_, ChunkGenerator p_242771_2_, BiomeProvider p_242771_3_, TemplateManager p_242771_4_, long p_242771_5_, ChunkPos p_242771_7_, Biome p_242771_8_, int p_242771_9_, StructureSeparationSettings p_242771_10_)
-
-