Uses of Class
net.minecraft.structure.StructureManager
Package
Description
-
Uses of StructureManager in net.minecraft.server
-
Uses of StructureManager in net.minecraft.server.world
Modifier and TypeFieldDescriptionprivate final StructureManager
ThreadedAnvilChunkStorage.structureManager
ModifierConstructorDescriptionServerChunkManager
(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureManager structureManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, int simulationDistance, boolean dsync, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> persistentStateManagerFactory) ThreadedAnvilChunkStorage
(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureManager structureManager, Executor executor, ThreadExecutor<Runnable> mainThreadExecutor, ChunkProvider chunkProvider, ChunkGenerator chunkGenerator, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> persistentStateManagerFactory, int viewDistance, boolean dsync) -
Uses of StructureManager in net.minecraft.structure
Modifier and TypeFieldDescriptionprivate final StructureManager
WoodlandMansionGenerator.LayoutGenerator.manager
private final StructureManager
PoolStructurePiece.structureManager
private final StructureManager
StructureGeneratorFactory.Context.structureManager
The field for thestructureManager
record component.private final StructureManager
StructureContext.structureTemplateManager
The field for thestructureTemplateManager
record component.private final StructureManager
StructurePiecesGenerator.Context.structureTemplateManager
The field for thestructureTemplateManager
record component.Modifier and TypeMethodDescriptionStructureGeneratorFactory.Context.structureManager()
Returns the value of thestructureManager
record component.StructureContext.structureTemplateManager()
Returns the value of thestructureTemplateManager
record component.StructurePiecesGenerator.Context.structureTemplateManager()
Returns the value of thestructureTemplateManager
record component.Modifier and TypeMethodDescriptionstatic void
ShipwreckGenerator.addParts
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, boolean bool) static void
EndCityGenerator.addPieces
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random) static void
IglooGenerator.addPieces
(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random) static void
NetherFossilGenerator.addPieces
(StructureManager manager, StructurePiecesHolder holder, Random random, BlockPos pos) static void
OceanRuinGenerator.addPieces
(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, OceanRuinStructure oceanRuinStructure) static void
WoodlandMansionGenerator.addPieces
(StructureManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random) boolean
EndCityGenerator.Part.create
(StructureManager manager, int depth, EndCityGenerator.Piece root, BlockPos pos, List<StructurePiece> pieces, Random random) (package private) static boolean
EndCityGenerator.createPart
(StructureManager manager, EndCityGenerator.Part piece, int depth, EndCityGenerator.Piece parent, BlockPos pos, List<StructurePiece> pieces, Random random) (package private) static EndCityGenerator.Piece
EndCityGenerator.createPiece
(StructureManager structureManager, EndCityGenerator.Piece lastPiece, BlockPos relativePosition, String template, BlockRotation rotation, boolean ignoreAir) private static StructurePlacementData
RuinedPortalStructurePiece.createPlacementData
(StructureManager manager, NbtCompound nbt, Identifier id) StructurePieceType.ManagerAware.load
(StructureManager structureManager, NbtCompound nbt) private static void
OceanRuinGenerator.method_14822
(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, OceanRuinStructure oceanRuinStructure, boolean large, float integrity) private static void
OceanRuinGenerator.method_14825
(StructureManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinStructure oceanRuinStructure, StructurePiecesHolder structurePiecesHolder) ModifierConstructorDescriptionContext
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, long long2, ChunkPos chunkPos, C c, HeightLimitView heightLimitView, Predicate<RegistryEntry<Biome>> predicate, StructureManager structureManager, DynamicRegistryManager dynamicRegistryManager) Context
(C c, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, HeightLimitView heightLimitView, ChunkRandom chunkRandom, long long2) LayoutGenerator
(StructureManager manager, Random random) Piece
(StructureManager manager, String template, BlockPos pos, BlockRotation rotation, boolean includeAir) Piece
(StructureManager manager, NbtCompound nbt) Piece
(StructureManager manager, NbtCompound nbt) Piece
(StructureManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, int yOffset) Piece
(StructureManager manager, NbtCompound nbt) Piece
(StructureManager manager, Identifier template, BlockPos pos, BlockRotation rotation) Piece
(StructureManager holder, NbtCompound nbt) Piece
(StructureManager structureManager, Identifier template, BlockPos pos, BlockRotation rotation, float integrity, OceanRuinStructure.BiomeTemperature biomeType, boolean large) Piece
(StructureManager manager, NbtCompound nbt) Piece
(StructureManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, boolean grounded) Piece
(StructureManager manager, String template, BlockPos pos, BlockRotation rotation) Piece
(StructureManager manager, String template, BlockPos pos, BlockRotation rotation, BlockMirror mirror) Piece
(StructureManager manager, NbtCompound nbt) PoolStructurePiece
(StructureManager structureManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox) RuinedPortalStructurePiece
(StructureManager manager, NbtCompound nbt) RuinedPortalStructurePiece
(StructureManager manager, BlockPos pos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier id, Structure structure, BlockRotation rotation, BlockMirror mirror, BlockPos blockPos) SimpleStructurePiece
(StructurePieceType type, int length, StructureManager structureManager, Identifier id, String template, StructurePlacementData placementData, BlockPos pos) SimpleStructurePiece
(StructurePieceType type, NbtCompound nbt, StructureManager structureManager, Function<Identifier, StructurePlacementData> placementDataGetter) StructureContext
(ResourceManager resourceManager, DynamicRegistryManager dynamicRegistryManager, StructureManager structureManager) -
Uses of StructureManager in net.minecraft.structure.pool
Modifier and TypeFieldDescriptionprivate final StructureManager
StructurePoolBasedGenerator.StructurePoolGenerator.structureManager
Modifier and TypeMethodDescriptionboolean
EmptyPoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
FeaturePoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
ListPoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
SinglePoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) private static void
StructurePoolBasedGenerator.generate
(NoiseConfig noiseConfig, int maxSize, boolean modifyBoundingBox, ChunkGenerator chunkGenerator, StructureManager structureManager, HeightLimitView heightLimitView, Random random, Registry<StructurePool> structurePoolRegistry, PoolStructurePiece firstPiece, List<PoolStructurePiece> pieces, VoxelShape pieceShape) abstract boolean
StructurePoolElement.generate
(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos blockPos, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) EmptyPoolElement.getBoundingBox
(StructureManager structureManager, BlockPos pos, BlockRotation rotation) FeaturePoolElement.getBoundingBox
(StructureManager structureManager, BlockPos pos, BlockRotation rotation) ListPoolElement.getBoundingBox
(StructureManager structureManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getBoundingBox
(StructureManager structureManager, BlockPos pos, BlockRotation rotation) abstract BlockBox
StructurePoolElement.getBoundingBox
(StructureManager structureManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getDataStructureBlocks
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, boolean mirroredAndRotated) int
StructurePool.getHighestY
(StructureManager structureManager) EmptyPoolElement.getStart
(StructureManager structureManager, BlockRotation rotation) FeaturePoolElement.getStart
(StructureManager structureManager, BlockRotation rotation) ListPoolElement.getStart
(StructureManager structureManager, BlockRotation rotation) SinglePoolElement.getStart
(StructureManager structureManager, BlockRotation rotation) abstract Vec3i
StructurePoolElement.getStart
(StructureManager structureManager, BlockRotation rotation) private Structure
SinglePoolElement.getStructure
(StructureManager structureManager) EmptyPoolElement.getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random) FeaturePoolElement.getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random) ListPoolElement.getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random) SinglePoolElement.getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random) abstract List<Structure.StructureBlockInfo>
StructurePoolElement.getStructureBlockInfos
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random) StructurePoolBasedGenerator.method_43566
(StructurePoolElement structurePoolElement, Identifier identifier, BlockPos blockPos, BlockRotation blockRotation, StructureManager structureManager, ChunkRandom chunkRandom) ModifierConstructorDescription(package private)
StructurePoolGenerator
(Registry<StructurePool> registry, int maxSize, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> children, Random random) -
Uses of StructureManager in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final StructureManager
StructureLocator.structureManager
ModifierConstructorDescriptionStructureLocator
(NbtScannable chunkIoWorker, DynamicRegistryManager registryManager, StructureManager structureManager, RegistryKey<World> worldKey, ChunkGenerator chunkGenerator, NoiseConfig noiseConfig, HeightLimitView heightLimitView, BiomeSource biomeSource, long long2, com.mojang.datafixers.DataFixer dataFixer) -
Uses of StructureManager in net.minecraft.world.chunk
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.GenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean regenerate) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.LoadTask.doWork
(ChunkStatus targetStatus, ServerWorld world, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, Chunk chunk) default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.SimpleGenerationTask.doWork
(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, Chunk chunk, boolean regenerate) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runGenerationTask
(Executor executor, ServerWorld world, ChunkGenerator generator, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, List<Chunk> chunks, boolean regenerate) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ChunkStatus.runLoadTask
(ServerWorld world, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder.Unloaded>>> fullChunkConverter, Chunk chunk) -
Uses of StructureManager in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionprivate boolean
ChunkGenerator.method_41044
(StructureSet.WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, NoiseConfig noiseConfig, StructureManager structureManager, long long2, Chunk chunk, ChunkPos chunkPos, ChunkSectionPos chunkSectionPos) void
ChunkGenerator.setStructureStarts
(DynamicRegistryManager registryManager, NoiseConfig noiseConfig, StructureAccessor structureAccessor, Chunk chunk, StructureManager structureManager, long seed) Determines which structures should start in the given chunk and creates their starting points. -
Uses of StructureManager in net.minecraft.world.gen.structure
Modifier and TypeFieldDescriptionprivate final StructureManager
StructureType.Context.structureManager
The field for thestructureManager
record component.Modifier and TypeMethodDescriptionStructureType.Context.structureManager()
Returns the value of thestructureManager
record component.Modifier and TypeMethodDescriptionStructureType.createStructureStart
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureManager structureManager, long seed, ChunkPos chunkPos, int references, HeightLimitView world, Predicate<RegistryEntry<Biome>> validBiomes) ModifierConstructorDescriptionContext
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureManager structureManager, long seed, ChunkPos chunkPos, HeightLimitView world, Predicate<RegistryEntry<Biome>> biomePredicate) Context
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureManager structureManager, ChunkRandom chunkRandom, long long2, ChunkPos chunkPos, HeightLimitView heightLimitView, Predicate<RegistryEntry<Biome>> predicate)