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