Uses of Class
net.minecraft.structure.StructureTemplateManager
Package
Description
-
Uses of StructureTemplateManager in net.minecraft.server
Modifier and TypeFieldDescriptionprivate final StructureTemplateManager
MinecraftServer.structureTemplateManager
-
Uses of StructureTemplateManager in net.minecraft.server.world
ModifierConstructorDescriptionServerChunkManager
(ServerWorld world, LevelStorage.Session session, com.mojang.datafixers.DataFixer dataFixer, StructureTemplateManager structureTemplateManager, 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, StructureTemplateManager structureTemplateManager, Executor executor, ThreadExecutor<Runnable> mainThreadExecutor, ChunkProvider chunkProvider, ChunkGenerator chunkGenerator, WorldGenerationProgressListener worldGenerationProgressListener, ChunkStatusChangeListener chunkStatusChangeListener, Supplier<PersistentStateManager> persistentStateManagerFactory, int viewDistance, boolean dsync) -
Uses of StructureTemplateManager in net.minecraft.structure
Modifier and TypeFieldDescriptionprivate final StructureTemplateManager
WoodlandMansionGenerator.LayoutGenerator.manager
private final StructureTemplateManager
PoolStructurePiece.structureTemplateManager
private final StructureTemplateManager
StructureContext.structureTemplateManager
The field for thestructureTemplateManager
record component.private final StructureTemplateManager
StructureGeneratorFactory.Context.structureTemplateManager
The field for thestructureTemplateManager
record component.private final StructureTemplateManager
StructurePiecesGenerator.Context.structureTemplateManager
The field for thestructureTemplateManager
record component.Modifier and TypeMethodDescriptionStructureContext.structureTemplateManager()
Returns the value of thestructureTemplateManager
record component.StructureGeneratorFactory.Context.structureTemplateManager()
Returns the value of thestructureTemplateManager
record component.StructurePiecesGenerator.Context.structureTemplateManager()
Returns the value of thestructureTemplateManager
record component.Modifier and TypeMethodDescriptionprivate static void
OceanRuinGenerator.addCluster
(StructureTemplateManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinStructure structure, StructurePiecesHolder pieces) static ShipwreckGenerator.Piece
ShipwreckGenerator.addParts
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, boolean beached) static void
EndCityGenerator.addPieces
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random) static void
IglooGenerator.addPieces
(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random) static void
NetherFossilGenerator.addPieces
(StructureTemplateManager manager, StructurePiecesHolder holder, Random random, BlockPos pos) static void
OceanRuinGenerator.addPieces
(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, OceanRuinStructure structure) private static void
OceanRuinGenerator.addPieces
(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, StructurePiecesHolder holder, Random random, OceanRuinStructure structure, boolean large, float integrity) static void
WoodlandMansionGenerator.addPieces
(StructureTemplateManager manager, BlockPos pos, BlockRotation rotation, List<WoodlandMansionGenerator.Piece> pieces, Random random) boolean
EndCityGenerator.Part.create
(StructureTemplateManager manager, int depth, EndCityGenerator.Piece root, BlockPos pos, List<StructurePiece> pieces, Random random) (package private) static boolean
EndCityGenerator.createPart
(StructureTemplateManager manager, EndCityGenerator.Part piece, int depth, EndCityGenerator.Piece parent, BlockPos pos, List<StructurePiece> pieces, Random random) (package private) static EndCityGenerator.Piece
EndCityGenerator.createPiece
(StructureTemplateManager structureTemplateManager, EndCityGenerator.Piece lastPiece, BlockPos relativePosition, String template, BlockRotation rotation, boolean ignoreAir) private static StructurePlacementData
RuinedPortalStructurePiece.createPlacementData
(StructureTemplateManager manager, NbtCompound nbt, Identifier id) static OceanRuinGenerator.Piece
OceanRuinGenerator.Piece.fromNbt
(StructureTemplateManager structureTemplateManager, NbtCompound nbt) StructurePieceType.ManagerAware.load
(StructureTemplateManager structureTemplateManager, NbtCompound nbt) ModifierConstructorDescriptionContext
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, long long2, ChunkPos chunkPos, C c, HeightLimitView heightLimitView, Predicate<RegistryEntry<Biome>> predicate, StructureTemplateManager structureTemplateManager, DynamicRegistryManager dynamicRegistryManager) Context
(C c, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, ChunkPos chunkPos, HeightLimitView heightLimitView, ChunkRandom chunkRandom, long long2) LayoutGenerator
(StructureTemplateManager manager, Random random) Piece
(StructureTemplateManager manager, String template, BlockPos pos, BlockRotation rotation, boolean includeAir) Piece
(StructureTemplateManager manager, NbtCompound nbt) Piece
(StructureTemplateManager manager, NbtCompound nbt) Piece
(StructureTemplateManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, int yOffset) Piece
(StructureTemplateManager manager, NbtCompound nbt) Piece
(StructureTemplateManager manager, Identifier template, BlockPos pos, BlockRotation rotation) private
Piece
(StructureTemplateManager holder, NbtCompound nbt, BlockRotation rotation, float integrity, OceanRuinStructure.BiomeTemperature biomeType, boolean large) Piece
(StructureTemplateManager structureTemplateManager, Identifier template, BlockPos pos, BlockRotation rotation, float integrity, OceanRuinStructure.BiomeTemperature biomeType, boolean large) Piece
(StructureTemplateManager manager, NbtCompound nbt) Piece
(StructureTemplateManager manager, Identifier identifier, BlockPos pos, BlockRotation rotation, boolean grounded) Piece
(StructureTemplateManager manager, String template, BlockPos pos, BlockRotation rotation) Piece
(StructureTemplateManager manager, String template, BlockPos pos, BlockRotation rotation, BlockMirror mirror) Piece
(StructureTemplateManager manager, NbtCompound nbt) PoolStructurePiece
(StructureTemplateManager structureTemplateManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox) RuinedPortalStructurePiece
(StructureTemplateManager manager, NbtCompound nbt) RuinedPortalStructurePiece
(StructureTemplateManager manager, BlockPos pos, RuinedPortalStructurePiece.VerticalPlacement verticalPlacement, RuinedPortalStructurePiece.Properties properties, Identifier id, StructureTemplate template, BlockRotation rotation, BlockMirror mirror, BlockPos blockPos) SimpleStructurePiece
(StructurePieceType type, int length, StructureTemplateManager structureTemplateManager, Identifier id, String template, StructurePlacementData placementData, BlockPos pos) SimpleStructurePiece
(StructurePieceType type, NbtCompound nbt, StructureTemplateManager structureTemplateManager, Function<Identifier, StructurePlacementData> placementDataGetter) StructureContext
(ResourceManager resourceManager, DynamicRegistryManager dynamicRegistryManager, StructureTemplateManager structureTemplateManager) -
Uses of StructureTemplateManager in net.minecraft.structure.pool
Modifier and TypeFieldDescriptionprivate final StructureTemplateManager
StructurePoolBasedGenerator.StructurePoolGenerator.structureTemplateManager
Modifier and TypeMethodDescriptionStructurePoolBasedGenerator.findStartingJigsawPos
(StructurePoolElement pool, Identifier id, BlockPos pos, BlockRotation rotation, StructureTemplateManager structureManager, ChunkRandom random) boolean
EmptyPoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
FeaturePoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
ListPoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) boolean
SinglePoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) private static void
StructurePoolBasedGenerator.generate
(NoiseConfig noiseConfig, int maxSize, boolean modifyBoundingBox, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, HeightLimitView heightLimitView, Random random, Registry<StructurePool> structurePoolRegistry, PoolStructurePiece firstPiece, List<PoolStructurePiece> pieces, VoxelShape pieceShape, StructurePoolAliasLookup aliasLookup) abstract boolean
StructurePoolElement.generate
(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws) EmptyPoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) FeaturePoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) ListPoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) abstract BlockBox
StructurePoolElement.getBoundingBox
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation) SinglePoolElement.getDataStructureBlocks
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, boolean mirroredAndRotated) int
StructurePool.getHighestY
(StructureTemplateManager structureTemplateManager) EmptyPoolElement.getStart
(StructureTemplateManager structureTemplateManager, BlockRotation rotation) FeaturePoolElement.getStart
(StructureTemplateManager structureTemplateManager, BlockRotation rotation) ListPoolElement.getStart
(StructureTemplateManager structureTemplateManager, BlockRotation rotation) SinglePoolElement.getStart
(StructureTemplateManager structureTemplateManager, BlockRotation rotation) abstract Vec3i
StructurePoolElement.getStart
(StructureTemplateManager structureTemplateManager, BlockRotation rotation) private StructureTemplate
SinglePoolElement.getStructure
(StructureTemplateManager structureTemplateManager) EmptyPoolElement.getStructureBlockInfos
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) FeaturePoolElement.getStructureBlockInfos
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) ListPoolElement.getStructureBlockInfos
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) SinglePoolElement.getStructureBlockInfos
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) abstract List
<StructureTemplate.StructureBlockInfo> StructurePoolElement.getStructureBlockInfos
(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random) ModifierConstructorDescription(package private)
StructurePoolGenerator
(Registry<StructurePool> registry, int maxSize, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, List<? super PoolStructurePiece> children, Random random) -
Uses of StructureTemplateManager in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final StructureTemplateManager
StructureLocator.structureTemplateManager
ModifierConstructorDescriptionStructureLocator
(NbtScannable chunkIoWorker, DynamicRegistryManager registryManager, StructureTemplateManager structureTemplateManager, RegistryKey<World> worldKey, ChunkGenerator chunkGenerator, NoiseConfig noiseConfig, HeightLimitView world, BiomeSource biomeSource, long seed, com.mojang.datafixers.DataFixer dataFixer) -
Uses of StructureTemplateManager in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionprivate final StructureTemplateManager
ChunkGenerationContext.structureManager
The field for thestructureManager
record component.Modifier and TypeMethodDescriptionChunkGenerationContext.structureManager()
Returns the value of thestructureManager
record component.ModifierConstructorDescriptionChunkGenerationContext
(ServerWorld serverWorld, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, ServerLightingProvider serverLightingProvider) -
Uses of StructureTemplateManager in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionvoid
ChunkGenerator.setStructureStarts
(DynamicRegistryManager registryManager, StructurePlacementCalculator placementCalculator, StructureAccessor structureAccessor, Chunk chunk, StructureTemplateManager structureTemplateManager) Determines which structures should start in the given chunk and creates their starting points.private boolean
ChunkGenerator.trySetStructureStart
(StructureSet.WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, NoiseConfig noiseConfig, StructureTemplateManager structureManager, long seed, Chunk chunk, ChunkPos pos, ChunkSectionPos sectionPos) -
Uses of StructureTemplateManager in net.minecraft.world.gen.structure
Modifier and TypeFieldDescriptionprivate final StructureTemplateManager
Structure.Context.structureTemplateManager
The field for thestructureTemplateManager
record component.Modifier and TypeMethodDescriptionStructure.Context.structureTemplateManager()
Returns the value of thestructureTemplateManager
record component.Modifier and TypeMethodDescriptionStructure.createStructureStart
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, int references, HeightLimitView world, Predicate<RegistryEntry<Biome>> validBiomes) ModifierConstructorDescriptionContext
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, HeightLimitView world, Predicate<RegistryEntry<Biome>> biomePredicate) Context
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, ChunkRandom chunkRandom, long long2, ChunkPos chunkPos, HeightLimitView heightLimitView, Predicate<RegistryEntry<Biome>> predicate)