Uses of Class
net.minecraft.world.gen.chunk.StructureConfig
-
Uses of StructureConfig in net.minecraft.world.gen.chunk
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<StructureConfig>
StructureConfig.CODEC
static final ImmutableMap<StructureFeature<?>,
StructureConfig> StructuresConfig.DEFAULT_STRUCTURES
Default placement settings for each known structure type.private final Map<StructureFeature<?>,
StructureConfig> StructuresConfig.structures
Modifier and TypeMethodDescriptionStructuresConfig.getForType
(StructureFeature<?> structureType) Gets the placement configuration for a specific structure type, or a default placement if placement for the structure was not explicitly configured.ModifierConstructorDescriptionStructuresConfig
(Optional<StrongholdConfig> stronghold, Map<StructureFeature<?>, StructureConfig> structures) -
Uses of StructureConfig in net.minecraft.world.gen.feature
Modifier and TypeMethodDescriptionfinal ChunkPos
StructureFeature.getStartChunk
(StructureConfig config, long worldSeed, ChunkRandom placementRandom, int chunkX, int chunkY) Determines the cell of the structure placement grid a chunk belongs to, and returns the chunk within that cell, that this structure will actually be placed at.StructureFeature.locateStructure
(WorldView world, StructureAccessor structureAccessor, BlockPos searchStartPos, int searchRadius, boolean skipExistingChunks, long worldSeed, StructureConfig config) Tries to find the closest structure of this type near a given block.ConfiguredStructureFeature.tryPlaceStart
(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos chunkPos, Biome biome, int referenceCount, StructureConfig structureConfig, HeightLimitView heightLimitView) StructureFeature.tryPlaceStart
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator generator, BiomeSource biomeSource, StructureManager manager, long worldSeed, ChunkPos pos, Biome biome, int referenceCount, ChunkRandom random, StructureConfig structureConfig, C config, HeightLimitView world) Tries to place a starting point for this type of structure in the given chunk.