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 StructureConfigModifierConstructorDescriptionprivate
StructuresConfig
(Map<StructureFeature<?>, StructureConfig> structures, @Nullable StrongholdConfig stronghold) StructuresConfig
(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 seed, int x, int z) 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, int structureReferences, StructureConfig structureConfig, HeightLimitView world, Predicate<Biome> biomeLimit) StructureFeature.tryPlaceStart
(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos pos, int structureReferences, StructureConfig structureConfig, C config, HeightLimitView world, Predicate<Biome> biomePredicate) Tries to place a starting point for this type of structure in the given chunk.