Uses of Class
net.minecraft.structure.StructureManager
Packages that use StructureManager
Package
Description
The base package for all Minecraft classes.
-
Uses of StructureManager in net.minecraft
Fields in net.minecraft declared as StructureManagerModifier and TypeFieldDescriptionprivate final StructureManager
class_6622.class_6623.comp_126
The field for thecomp_126
record component.private final StructureManager
class_6625.comp_135
The field for thecomp_135
record component.Methods in net.minecraft that return StructureManagerModifier and TypeMethodDescriptionclass_6622.class_6623.comp_126()
Returns the value of thecomp_126
record component.class_6625.comp_135()
Returns the value of thecomp_135
record component.Constructors in net.minecraft with parameters of type StructureManagerModifierConstructorDescriptionclass_6623
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Predicate<Biome> predicate, HeightLimitView heightLimitView, ChunkRandom chunkRandom, long long2) class_6625
(ResourceManager resourceManager, DynamicRegistryManager dynamicRegistryManager, StructureManager structureManager) -
Uses of StructureManager in net.minecraft.server
Fields in net.minecraft.server declared as StructureManagerMethods in net.minecraft.server that return StructureManager -
Uses of StructureManager in net.minecraft.server.world
Fields in net.minecraft.server.world declared as StructureManagerModifier and TypeFieldDescriptionprivate final StructureManager
ThreadedAnvilChunkStorage.structureManager
Methods in net.minecraft.server.world that return StructureManagerConstructors in net.minecraft.server.world with parameters of type StructureManagerModifierConstructorDescriptionServerChunkManager
(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureManager structureManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, int int2, boolean bool, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> supplier) 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
Fields in net.minecraft.structure declared as StructureManagerModifier and TypeFieldDescriptionprivate final StructureManager
WoodlandMansionGenerator.LayoutGenerator.manager
private final StructureManager
PoolStructurePiece.structureManager
Methods in net.minecraft.structure with parameters of type StructureManagerModifier and TypeMethodDescriptionstatic void
ShipwreckGenerator.addParts
(StructureManager structureManager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder structurePiecesHolder, 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 structurePiecesHolder, Random random) static void
NetherFossilGenerator.addPieces
(StructureManager manager, StructurePiecesHolder structurePiecesHolder, Random random, BlockPos pos) static void
OceanRuinGenerator.addPieces
(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder structurePiecesHolder, 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 structureManager, NbtCompound nbt, Identifier id) StructurePieceType.class_6616.load
(StructureManager structureManager, NbtCompound nbtCompound) private static void
OceanRuinGenerator.method_14822
(StructureManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder structurePiecesHolder, 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) Constructors in net.minecraft.structure with parameters of type StructureManagerModifierConstructorDescriptionLayoutGenerator
(StructureManager manager, Random random) Piece
(StructureManager manager, String template, BlockPos pos, BlockRotation rotation, boolean includeAir) Piece
(StructureManager structureManager, NbtCompound nbtCompound) Piece
(StructureManager structureManager, NbtCompound nbt) Piece
(StructureManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, int yOffset) Piece
(StructureManager structureManager, NbtCompound nbt) Piece
(StructureManager manager, Identifier template, BlockPos pos, BlockRotation rotation) Piece
(StructureManager structureManager, NbtCompound nbt) Piece
(StructureManager structureManager, Identifier template, BlockPos pos, BlockRotation rotation, float integrity, OceanRuinFeature.BiomeType biomeType, boolean large) Piece
(StructureManager structureManager, NbtCompound nbt) Piece
(StructureManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, boolean grounded) Piece
(StructureManager structureManager, String template, BlockPos pos, BlockRotation rotation) Piece
(StructureManager structureManager, String template, BlockPos pos, BlockRotation rotation, BlockMirror mirror) Piece
(StructureManager structureManager, NbtCompound nbt) PoolStructurePiece
(StructureManager structureManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox) RuinedPortalStructurePiece
(StructureManager structureManager, NbtCompound nbt) RuinedPortalStructurePiece
(StructureManager structureManager, BlockPos blockPos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier identifier, Structure structure, BlockRotation rotation, BlockMirror mirror, BlockPos blockPos2) SimpleStructurePiece
(StructurePieceType type, int int2, StructureManager structureManager, Identifier identifier, String string, StructurePlacementData placementData, BlockPos pos) SimpleStructurePiece
(StructurePieceType type, NbtCompound nbtCompound, StructureManager structureManager, Function<Identifier, StructurePlacementData> function) -
Uses of StructureManager in net.minecraft.structure.pool
Fields in net.minecraft.structure.pool declared as StructureManagerModifier and TypeFieldDescriptionprivate final StructureManager
StructurePoolBasedGenerator.StructurePoolGenerator.structureManager
Methods in net.minecraft.structure.pool with parameters of type StructureManagerModifier and TypeMethodDescriptionStructurePoolBasedGenerator.PieceFactory.create
(StructureManager structureManager, StructurePoolElement poolElement, BlockPos pos, int int2, 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 dynamicRegistries, StructurePoolFeatureConfig config, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, BlockPos pos, StructurePiecesHolder children, Random random, boolean modifyBoundingBox, boolean surface, HeightLimitView world, Predicate<Biome> predicate) 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) 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) static void
StructurePoolBasedGenerator.method_27230
(DynamicRegistryManager dynamicRegistryManager, PoolStructurePiece poolStructurePiece, int int2, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> list, Random random, HeightLimitView heightLimitView) private Structure
SinglePoolElement.method_27233
(StructureManager structureManager) Constructors in net.minecraft.structure.pool with parameters of type StructureManagerModifierConstructorDescription(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.chunk
Methods in net.minecraft.world.chunk with parameters of type StructureManagerModifier 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> list, 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> list, 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
Methods in net.minecraft.world.gen.chunk with parameters of type StructureManagerModifier and TypeMethodDescriptionvoid
ChunkGenerator.setStructureStarts
(DynamicRegistryManager registryManager, StructureAccessor structureAccessor, 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
Methods in net.minecraft.world.gen.feature with parameters of type StructureManagerModifier and TypeMethodDescriptionConfiguredStructureFeature.tryPlaceStart
(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos chunkPos, int int2, StructureConfig structureConfig, HeightLimitView heightLimitView, Predicate<Biome> predicate) StructureFeature.tryPlaceStart
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator generator, BiomeSource biomeSource, StructureManager manager, long worldSeed, ChunkPos pos, int int2, ChunkRandom chunkRandom, StructureConfig structureConfig, C c, HeightLimitView heightLimitView, Predicate<Biome> predicate) Tries to place a starting point for this type of structure in the given chunk.