Uses of Class
net.minecraft.world.gen.chunk.StructureConfig
Packages that use StructureConfig
-
Uses of StructureConfig in net.minecraft.world.gen.chunk
Fields in net.minecraft.world.gen.chunk with type parameters of type StructureConfigModifier 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
Methods in net.minecraft.world.gen.chunk that return StructureConfigModifier 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.Methods in net.minecraft.world.gen.chunk that return types with arguments of type StructureConfigConstructor parameters in net.minecraft.world.gen.chunk with type arguments of type StructureConfigModifierConstructorDescriptionStructuresConfig
(Optional<StrongholdConfig> stronghold, Map<StructureFeature<?>, StructureConfig> structures) -
Uses of StructureConfig in net.minecraft.world.gen.feature
Methods in net.minecraft.world.gen.feature with parameters of type StructureConfigModifier 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.