Uses of Class
net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplateManager
Packages that use StructureTemplateManager
Package
Description
-
Uses of StructureTemplateManager in net.minecraft.server
Fields in net.minecraft.server declared as StructureTemplateManagerModifier and TypeFieldDescriptionprivate final StructureTemplateManager
MinecraftServer.structureTemplateManager
Methods in net.minecraft.server that return StructureTemplateManager -
Uses of StructureTemplateManager in net.minecraft.server.level
Methods in net.minecraft.server.level that return StructureTemplateManagerConstructors in net.minecraft.server.level with parameters of type StructureTemplateManagerModifierConstructorDescriptionChunkMap
(ServerLevel p_214836_, LevelStorageSource.LevelStorageAccess p_214837_, com.mojang.datafixers.DataFixer p_214838_, StructureTemplateManager p_214839_, Executor p_214840_, BlockableEventLoop<Runnable> p_214841_, LightChunkGetter p_214842_, ChunkGenerator p_214843_, ChunkProgressListener p_214844_, ChunkStatusUpdateListener p_214845_, Supplier<DimensionDataStorage> p_214846_, int p_214847_, boolean p_214848_) ServerChunkCache
(ServerLevel p_214982_, LevelStorageSource.LevelStorageAccess p_214983_, com.mojang.datafixers.DataFixer p_214984_, StructureTemplateManager p_214985_, Executor p_214986_, ChunkGenerator p_214987_, int p_214988_, int p_214989_, boolean p_214990_, ChunkProgressListener p_214991_, ChunkStatusUpdateListener p_214992_, Supplier<DimensionDataStorage> p_214993_) -
Uses of StructureTemplateManager in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk with parameters of type StructureTemplateManagerModifier and TypeMethodDescriptionvoid
ChunkGenerator.createStructures
(RegistryAccess pRegistryAccess, ChunkGeneratorStructureState pStructureState, StructureManager pStructureManager, ChunkAccess pChunk, StructureTemplateManager pStructureTemplateManager) private boolean
ChunkGenerator.tryGenerateStructure
(StructureSet.StructureSelectionEntry pStructureSelectionEntry, StructureManager pStructureManager, RegistryAccess pRegistryAccess, RandomState pRandom, StructureTemplateManager pStructureTemplateManager, long pSeed, ChunkAccess pChunk, ChunkPos pChunkPos, SectionPos pSectionPos) -
Uses of StructureTemplateManager in net.minecraft.world.level.chunk.status
Fields in net.minecraft.world.level.chunk.status declared as StructureTemplateManagerModifier and TypeFieldDescriptionprivate final StructureTemplateManager
WorldGenContext.structureManager
The field for thestructureManager
record component.Methods in net.minecraft.world.level.chunk.status that return StructureTemplateManagerModifier and TypeMethodDescriptionWorldGenContext.structureManager()
Returns the value of thestructureManager
record component.Constructors in net.minecraft.world.level.chunk.status with parameters of type StructureTemplateManagerModifierConstructorDescriptionWorldGenContext
(ServerLevel level, ChunkGenerator generator, StructureTemplateManager structureManager, ThreadedLevelLightEngine lightEngine, ProcessorHandle<ChunkTaskPriorityQueueSorter.Message<Runnable>> mainThreadMailBox) Creates an instance of aWorldGenContext
record class. -
Uses of StructureTemplateManager in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as StructureTemplateManagerModifier and TypeFieldDescriptionprivate final StructureTemplateManager
PoolElementStructurePiece.structureTemplateManager
private final StructureTemplateManager
Structure.GenerationContext.structureTemplateManager
The field for thestructureTemplateManager
record component.private final StructureTemplateManager
StructureCheck.structureTemplateManager
Methods in net.minecraft.world.level.levelgen.structure that return StructureTemplateManagerModifier and TypeMethodDescriptionStructure.GenerationContext.structureTemplateManager()
Returns the value of thestructureTemplateManager
record component.Methods in net.minecraft.world.level.levelgen.structure with parameters of type StructureTemplateManagerModifier and TypeMethodDescriptionStructure.generate
(RegistryAccess pRegistryAccess, ChunkGenerator pChunkGenerator, BiomeSource pBiomeSource, RandomState pRandomState, StructureTemplateManager pStructureTemplateManager, long pSeed, ChunkPos pChunkPos, int pReferences, LevelHeightAccessor pHeightAccessor, Predicate<Holder<Biome>> pValidBiome) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type StructureTemplateManagerModifierConstructorDescriptionGenerationContext
(RegistryAccess p_226632_, ChunkGenerator p_226633_, BiomeSource p_226634_, RandomState p_226635_, StructureTemplateManager p_226636_, long p_226637_, ChunkPos p_226638_, LevelHeightAccessor p_226639_, Predicate<Holder<Biome>> p_226640_) GenerationContext
(RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, StructureTemplateManager structureTemplateManager, WorldgenRandom random, long seed, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) Creates an instance of aGenerationContext
record class.PoolElementStructurePiece
(StructureTemplateManager pStructureTemplateManager, StructurePoolElement pElement, BlockPos pPosition, int pGroundLevelDelta, Rotation pRotation, BoundingBox pBoundingBox, LiquidSettings pLiquidSettings) StructureCheck
(ChunkScanAccess p_226712_, RegistryAccess p_226713_, StructureTemplateManager p_226714_, ResourceKey<Level> p_226715_, ChunkGenerator p_226716_, RandomState p_226717_, LevelHeightAccessor p_226718_, BiomeSource p_226719_, long p_226720_, com.mojang.datafixers.DataFixer p_226721_) TemplateStructurePiece
(StructurePieceType pType, int pGenDepth, StructureTemplateManager pStructureTemplateManager, ResourceLocation pLocation, String pTemplateName, StructurePlaceSettings pPlaceSettings, BlockPos pTemplatePosition) TemplateStructurePiece
(StructurePieceType pType, CompoundTag pTag, StructureTemplateManager pStructureTemplateManager, Function<ResourceLocation, StructurePlaceSettings> pPlaceSettingsFactory) -
Uses of StructureTemplateManager in net.minecraft.world.level.levelgen.structure.pieces
Fields in net.minecraft.world.level.levelgen.structure.pieces declared as StructureTemplateManagerModifier and TypeFieldDescriptionprivate final StructureTemplateManager
PieceGenerator.Context.structureTemplateManager
The field for thestructureTemplateManager
record component.private final StructureTemplateManager
PieceGeneratorSupplier.Context.structureTemplateManager
The field for thestructureTemplateManager
record component.private final StructureTemplateManager
StructurePieceSerializationContext.structureTemplateManager
The field for thestructureTemplateManager
record component.Methods in net.minecraft.world.level.levelgen.structure.pieces that return StructureTemplateManagerModifier and TypeMethodDescriptionPieceGenerator.Context.structureTemplateManager()
Returns the value of thestructureTemplateManager
record component.PieceGeneratorSupplier.Context.structureTemplateManager()
Returns the value of thestructureTemplateManager
record component.StructurePieceSerializationContext.structureTemplateManager()
Returns the value of thestructureTemplateManager
record component.Methods in net.minecraft.world.level.levelgen.structure.pieces with parameters of type StructureTemplateManagerModifier and TypeMethodDescriptionStructurePieceType.StructureTemplateType.load
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) Constructors in net.minecraft.world.level.levelgen.structure.pieces with parameters of type StructureTemplateManagerModifierConstructorDescriptionContext
(C config, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, WorldgenRandom random, long seed) Creates an instance of aContext
record class.Context
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, long seed, ChunkPos chunkPos, C config, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome, StructureTemplateManager structureTemplateManager, RegistryAccess registryAccess) Creates an instance of aContext
record class.StructurePieceSerializationContext
(ResourceManager resourceManager, RegistryAccess registryAccess, StructureTemplateManager structureTemplateManager) Creates an instance of aStructurePieceSerializationContext
record class. -
Uses of StructureTemplateManager in net.minecraft.world.level.levelgen.structure.pools
Fields in net.minecraft.world.level.levelgen.structure.pools declared as StructureTemplateManagerModifier and TypeFieldDescriptionprivate final StructureTemplateManager
JigsawPlacement.Placer.structureTemplateManager
Methods in net.minecraft.world.level.levelgen.structure.pools with parameters of type StructureTemplateManagerModifier and TypeMethodDescriptionprivate static void
JigsawPlacement.addPieces
(RandomState pRandomState, int pMaxDepth, boolean pUseExpansionHack, ChunkGenerator pChunkGenerator, StructureTemplateManager pStructureTemplateManager, LevelHeightAccessor pLevel, RandomSource pRandom, Registry<StructureTemplatePool> pPools, PoolElementStructurePiece pStartPiece, List<PoolElementStructurePiece> pPieces, VoxelShape pFree, PoolAliasLookup pAliasLookup, LiquidSettings pLiquidSettings) EmptyPoolElement.getBoundingBox
(StructureTemplateManager p_227172_, BlockPos p_227173_, Rotation p_227174_) FeaturePoolElement.getBoundingBox
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation) ListPoolElement.getBoundingBox
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation) SinglePoolElement.getBoundingBox
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation) abstract BoundingBox
StructurePoolElement.getBoundingBox
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation) SinglePoolElement.getDataMarkers
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, boolean pRelativePosition) int
StructureTemplatePool.getMaxSize
(StructureTemplateManager pStructureTemplateManager) JigsawPlacement.getRandomNamedJigsaw
(StructurePoolElement pElement, ResourceLocation pStartJigsawName, BlockPos pPos, Rotation pRotation, StructureTemplateManager pStructureTemplateManager, WorldgenRandom pRandom) EmptyPoolElement.getShuffledJigsawBlocks
(StructureTemplateManager p_227176_, BlockPos p_227177_, Rotation p_227178_, RandomSource p_227179_) FeaturePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) ListPoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) SinglePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) abstract List
<StructureTemplate.StructureBlockInfo> StructurePoolElement.getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) EmptyPoolElement.getSize
(StructureTemplateManager p_227169_, Rotation p_227170_) FeaturePoolElement.getSize
(StructureTemplateManager pStructureTemplateManager, Rotation pRotation) ListPoolElement.getSize
(StructureTemplateManager pStructureTemplateManager, Rotation pRotation) SinglePoolElement.getSize
(StructureTemplateManager pStructureTemplateManager, Rotation pRotation) abstract Vec3i
StructurePoolElement.getSize
(StructureTemplateManager pStructureTemplateManager, Rotation pRotation) private StructureTemplate
SinglePoolElement.getTemplate
(StructureTemplateManager pStructureTemplateManager) boolean
EmptyPoolElement.place
(StructureTemplateManager p_227158_, WorldGenLevel p_227159_, StructureManager p_227160_, ChunkGenerator p_227161_, BlockPos p_227162_, BlockPos p_227163_, Rotation p_227164_, BoundingBox p_227165_, RandomSource p_227166_, LiquidSettings p_352245_, boolean p_227167_) boolean
FeaturePoolElement.place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) boolean
ListPoolElement.place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) boolean
SinglePoolElement.place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) abstract boolean
StructurePoolElement.place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos pOffset, BlockPos pPos, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, LiquidSettings pLiquidSettings, boolean pKeepJigsaws) Constructors in net.minecraft.world.level.levelgen.structure.pools with parameters of type StructureTemplateManagerModifierConstructorDescription(package private)
Placer
(Registry<StructureTemplatePool> pPools, int pMaxDepth, ChunkGenerator pChunkGenerator, StructureTemplateManager pStructureTemplateManager, List<? super PoolElementStructurePiece> pPieces, RandomSource pRandom) -
Uses of StructureTemplateManager in net.minecraft.world.level.levelgen.structure.structures
Fields in net.minecraft.world.level.levelgen.structure.structures declared as StructureTemplateManagerModifier and TypeFieldDescriptionprivate final StructureTemplateManager
WoodlandMansionPieces.MansionPiecePlacer.structureTemplateManager
Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type StructureTemplateManagerModifier and TypeMethodDescriptionprivate static void
OceanRuinPieces.addClusterRuins
(StructureTemplateManager pStructureTemplateManager, RandomSource pRandom, Rotation pRotation, BlockPos pPos, OceanRuinStructure pStructure, StructurePieceAccessor pStructurePieceAccessor) (package private) static EndCityPieces.EndCityPiece
EndCityPieces.addPiece
(StructureTemplateManager pStructureTemplateManager, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, String pName, Rotation pRotation, boolean pOverwrite) private static void
OceanRuinPieces.addPiece
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, StructurePieceAccessor pStructurePieceAccessor, RandomSource pRandom, OceanRuinStructure pStructure, boolean pIsLarge, float pIntegrity) static void
IglooPieces.addPieces
(StructureTemplateManager pStructureTemplateManager, BlockPos pStartPos, Rotation pRotation, StructurePieceAccessor pPieces, RandomSource pRandom) static void
NetherFossilPieces.addPieces
(StructureTemplateManager pStructureManager, StructurePieceAccessor pPieces, RandomSource pRandom, BlockPos pPos) static void
OceanRuinPieces.addPieces
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, StructurePieceAccessor pStructurePieceAccessor, RandomSource pRandom, OceanRuinStructure pStructure) ShipwreckPieces.addRandomPiece
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, StructurePieceAccessor pPieces, RandomSource pRandom, boolean pIsBeached) OceanRuinPieces.OceanRuinPiece.create
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) boolean
EndCityPieces.SectionGenerator.generate
(StructureTemplateManager pStructureTemplateManager, int pCounter, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, List<StructurePiece> pPieces, RandomSource pRandom) static void
WoodlandMansionPieces.generateMansion
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, List<WoodlandMansionPieces.WoodlandMansionPiece> pPieces, RandomSource pRandom) private static StructurePlaceSettings
RuinedPortalPiece.makeSettings
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag, ResourceLocation pLocation) (package private) static boolean
EndCityPieces.recursiveChildren
(StructureTemplateManager pStructureTemplateManager, EndCityPieces.SectionGenerator pSectionGenerator, int pCounter, EndCityPieces.EndCityPiece pPiece, BlockPos pStartPos, List<StructurePiece> pPieces, RandomSource pRandom) static void
EndCityPieces.startHouseTower
(StructureTemplateManager pStructureTemplateManager, BlockPos pStartPos, Rotation pRotation, List<StructurePiece> pPieces, RandomSource pRandom) Constructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type StructureTemplateManagerModifierConstructorDescriptionEndCityPiece
(StructureTemplateManager pStructureTemplateManager, String pName, BlockPos pStartPos, Rotation pRotation, boolean pOverwrite) EndCityPiece
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) IglooPiece
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) IglooPiece
(StructureTemplateManager pStructureTemplateManager, ResourceLocation pLocation, BlockPos pStartPos, Rotation pRotation, int pDown) MansionPiecePlacer
(StructureTemplateManager pStructureTemplateManager, RandomSource pRandom) NetherFossilPiece
(StructureTemplateManager pStructureManager, CompoundTag pTag) NetherFossilPiece
(StructureTemplateManager pStructureManager, ResourceLocation pLocation, BlockPos pPos, Rotation pRotation) private
OceanRuinPiece
(StructureTemplateManager pStructureTemplateManager, CompoundTag pGenDepth, Rotation pRotation, float pIntegrity, OceanRuinStructure.Type pBiomeType, boolean pIsLarge) OceanRuinPiece
(StructureTemplateManager pStructureTemplateManager, ResourceLocation pLocation, BlockPos pPos, Rotation pRotation, float pIntegrity, OceanRuinStructure.Type pBiomeType, boolean pIsLarge) RuinedPortalPiece
(StructureTemplateManager pStructureTemplateManager, BlockPos pTemplatePosition, RuinedPortalPiece.VerticalPlacement pVerticalPlacement, RuinedPortalPiece.Properties pProperties, ResourceLocation pLocation, StructureTemplate pTemplate, Rotation pRotation, Mirror pMirror, BlockPos pPivotPos) RuinedPortalPiece
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) ShipwreckPiece
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) ShipwreckPiece
(StructureTemplateManager pStructureTemplateManager, ResourceLocation pLocation, BlockPos pPos, Rotation pRotation, boolean pIsBeached) WoodlandMansionPiece
(StructureTemplateManager pStructureTemplateManager, String pTemplateName, BlockPos pTemplatePosition, Rotation pRotation) WoodlandMansionPiece
(StructureTemplateManager pStructureTemplateManager, String pTemplateName, BlockPos pTemplatePosition, Rotation pRotation, Mirror pMirror) WoodlandMansionPiece
(StructureTemplateManager pStructureTemplateManager, CompoundTag pTag) -
Uses of StructureTemplateManager in net.neoforged.testframework.gametest
Methods in net.neoforged.testframework.gametest with parameters of type StructureTemplateManagerModifier and TypeMethodDescriptionvoid
DynamicStructureTemplates.setup
(StructureTemplateManager manager)