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
StructureContext.structureManager
The field for thestructureManager
record component.private final StructureManager
StructureGeneratorFactory.Context.structureManager
The field for thestructureManager
record component.private final StructureManager
StructurePiecesGenerator.Context.structureManager
The field for thestructureManager
record component.Modifier and TypeMethodDescriptionStructureContext.structureManager()
Returns the value of thestructureManager
record component.StructureGeneratorFactory.Context.structureManager()
Returns the value of thestructureManager
record component.StructurePiecesGenerator.Context.structureManager()
Returns the value of thestructureManager
record component.Modifier and TypeMethodDescriptionstatic void
ShipwreckGenerator.addParts
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, ShipwreckFeatureConfig config) 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, OceanRuinFeatureConfig config) 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, OceanRuinFeatureConfig config, boolean large, float integrity) private static void
OceanRuinGenerator.method_14825
(StructureManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinFeatureConfig config, StructurePiecesHolder structurePiecesHolder) ModifierConstructorDescriptionContext
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, 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, OceanRuinFeature.BiomeType 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 TypeMethodDescriptionStructurePoolBasedGenerator.PieceFactory.create
(StructureManager structureManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox elementBounds) boolean
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) static void
StructurePoolBasedGenerator.generate
(DynamicRegistryManager registryManager, PoolStructurePiece piece, int maxDepth, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> results, Random random, HeightLimitView world) 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) ModifierConstructorDescription(package private)
StructurePoolGenerator
(Registry<StructurePool> registry, int maxSize, StructurePoolBasedGenerator.PieceFactory pieceFactory, 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, HeightLimitView world, BiomeSource biomeSource, long seed, 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 bool) 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 bool) 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 bool) 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>>> function, 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, StructureManager structureManager, long long2, Chunk chunk, ChunkPos chunkPos, ChunkSectionPos chunkSectionPos) void
ChunkGenerator.setStructureStarts
(DynamicRegistryManager registryManager, StructureAccessor world, Chunk chunk, StructureManager structureManager, long worldSeed) Determines which structures should start in the given chunk and creates their starting points. -
Uses of StructureManager in net.minecraft.world.gen.feature
Modifier and TypeMethodDescriptionboolean
StructureFeature.canGenerate
(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos pos, C config, HeightLimitView world, Predicate<RegistryEntry<Biome>> biomePredicate) ConfiguredStructureFeature.tryPlaceStart
(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos chunkPos, int structureReferences, HeightLimitView world, Predicate<RegistryEntry<Biome>> biomePredicate)