Class JigsawPlacement.Placer
java.lang.Object
net.minecraft.world.level.levelgen.structure.pools.JigsawPlacement.Placer
- Enclosing class:
JigsawPlacement
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ChunkGenerator
private final int
private final List<? super PoolElementStructurePiece>
(package private) final SequencedPriorityIterator<JigsawPlacement.PieceState>
private final Registry<StructureTemplatePool>
private final RandomSource
private final StructureTemplateManager
-
Constructor Summary
ConstructorDescriptionPlacer
(Registry<StructureTemplatePool> p_227258_, int p_227259_, ChunkGenerator p_227260_, StructureTemplateManager p_227261_, List<? super PoolElementStructurePiece> p_227262_, RandomSource p_227263_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static ResourceKey<StructureTemplatePool>
readPoolKey
(StructureTemplate.StructureBlockInfo p_307327_, PoolAliasLookup p_307490_) (package private) void
tryPlacingChildren
(PoolElementStructurePiece p_227265_, org.apache.commons.lang3.mutable.MutableObject<VoxelShape> p_227266_, int p_227267_, boolean p_227268_, LevelHeightAccessor p_227269_, RandomState p_227270_, PoolAliasLookup p_307643_)
-
Field Details
-
pools
-
maxDepth
private final int maxDepth -
chunkGenerator
-
structureTemplateManager
-
pieces
-
random
-
placing
-
-
Constructor Details
-
Placer
Placer(Registry<StructureTemplatePool> p_227258_, int p_227259_, ChunkGenerator p_227260_, StructureTemplateManager p_227261_, List<? super PoolElementStructurePiece> p_227262_, RandomSource p_227263_)
-
-
Method Details
-
tryPlacingChildren
void tryPlacingChildren(PoolElementStructurePiece p_227265_, org.apache.commons.lang3.mutable.MutableObject<VoxelShape> p_227266_, int p_227267_, boolean p_227268_, LevelHeightAccessor p_227269_, RandomState p_227270_, PoolAliasLookup p_307643_) -
readPoolKey
private static ResourceKey<StructureTemplatePool> readPoolKey(StructureTemplate.StructureBlockInfo p_307327_, PoolAliasLookup p_307490_)
-