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 StructureManager
ThreadedAnvilChunkStorage.structureManager
ModifierConstructorDescriptionServerChunkManager(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureManager structureManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, 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
Modifier and TypeFieldDescriptionprivate StructureManager
WoodlandMansionGenerator.LayoutGenerator.manager
private StructureManager
PoolStructurePiece.structureManager
Modifier 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)
abstract void
StructureStart.init(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, StructureManager manager, ChunkPos pos, Biome biome, C config, HeightLimitView world)
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)
ModifierConstructorDescriptionLayoutGenerator(StructureManager manager, Random random)
Piece(StructureManager manager, String template, BlockPos pos, BlockRotation rotation, boolean ignoreAir)
Piece(StructureManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, int yOffset)
Piece(StructureManager manager, Identifier template, BlockPos pos, BlockRotation rotation)
Piece(StructureManager structureManager, Identifier template, BlockPos pos, BlockRotation rotation, float integrity, OceanRuinFeature.BiomeType biomeType, boolean large)
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)
PoolStructurePiece(StructureManager structureManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox)
RuinedPortalStructurePiece(StructureManager structureManager, BlockPos blockPos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier identifier, Structure structure, BlockRotation blockRotation, BlockMirror blockMirror, BlockPos blockPos2)
SimpleStructurePiece(StructurePieceType structurePieceType, int int2, StructureManager structureManager, Identifier identifier, String string, StructurePlacementData structurePlacementData, BlockPos blockPos)
-
Uses of StructureManager in net.minecraft.structure.pool
Modifier and TypeFieldDescriptionprivate StructureManager
StructurePoolBasedGenerator.StructurePoolGenerator.structureManager
Modifier 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)
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 blockRotation)
FeaturePoolElement.getStart(StructureManager structureManager, BlockRotation blockRotation)
ListPoolElement.getStart(StructureManager structureManager, BlockRotation blockRotation)
SinglePoolElement.getStart(StructureManager structureManager, BlockRotation blockRotation)
abstract Vec3i
StructurePoolElement.getStart(StructureManager structureManager, BlockRotation blockRotation)
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)
static void
StructurePoolBasedGenerator.method_30419(DynamicRegistryManager dynamicRegistryManager, StructurePoolFeatureConfig structurePoolFeatureConfig, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, BlockPos blockPos, StructurePiecesHolder structurePiecesHolder, Random random, boolean bool, boolean bool2, HeightLimitView heightLimitView)
ModifierConstructorDescription(package private)
StructurePoolGenerator(Registry<StructurePool> registry, int int2, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> list, Random random)
-
Uses of StructureManager in net.minecraft.world
Modifier and TypeMethodDescriptionstatic ProtoChunk
ChunkSerializer.deserialize(ServerWorld world, StructureManager structureManager, PointOfInterestStorage poiStorage, ChunkPos pos, NbtCompound nbt)
-
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 chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list, Chunk chunk)
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>>> function, Chunk chunk)
default CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
ChunkStatus.SimpleGenerationTask.doWork(ChunkStatus targetStatus, Executor executor, ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list, Chunk chunk)
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>
ChunkStatus.runGenerationTask(Executor executor, ServerWorld world, ChunkGenerator chunkGenerator, StructureManager structureManager, ServerLightingProvider serverLightingProvider, Function<Chunk,CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>>> function, List<Chunk> list)
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 void
ChunkGenerator.setStructureStart(ConfiguredStructureFeature<?,?> feature, DynamicRegistryManager registryManager, StructureAccessor accessor, Chunk chunk, StructureManager structureManager, long worldSeed, Biome biome)
void
ChunkGenerator.setStructureStarts(DynamicRegistryManager registryManager, StructureAccessor accessor, 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 TypeMethodDescriptionvoid
BuriedTreasureFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, ProbabilityConfig probabilityConfig, HeightLimitView heightLimitView)
void
DesertPyramidFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
EndCityFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
IglooFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
JigsawFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, StructurePoolFeatureConfig structurePoolFeatureConfig, HeightLimitView heightLimitView)
void
JungleTempleFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
MineshaftFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, MineshaftFeatureConfig mineshaftFeatureConfig, HeightLimitView heightLimitView)
void
NetherFortressFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
NetherFossilFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, RangeDecoratorConfig rangeDecoratorConfig, HeightLimitView heightLimitView)
void
OceanMonumentFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
OceanRuinFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, OceanRuinFeatureConfig oceanRuinFeatureConfig, HeightLimitView heightLimitView)
void
RuinedPortalFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, RuinedPortalFeatureConfig ruinedPortalFeatureConfig, HeightLimitView heightLimitView)
void
ShipwreckFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, ShipwreckFeatureConfig shipwreckFeatureConfig, HeightLimitView heightLimitView)
void
StrongholdFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
SwampHutFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
WoodlandMansionFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
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.