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 JigsawPlacement.PieceFactory
private final int
private final List<? super PoolElementStructurePiece>
(package private) final Deque<JigsawPlacement.PieceState>
private final Registry<StructureTemplatePool>
private final Random
private final StructureManager
-
Constructor Summary
ConstructorDescriptionPlacer
(Registry<StructureTemplatePool> p_210323_, int p_210324_, JigsawPlacement.PieceFactory p_210325_, ChunkGenerator p_210326_, StructureManager p_210327_, List<? super PoolElementStructurePiece> p_210328_, Random p_210329_) -
Method Summary
Modifier and TypeMethodDescription(package private) void
tryPlacingChildren
(PoolElementStructurePiece p_210334_, org.apache.commons.lang3.mutable.MutableObject<VoxelShape> p_210335_, int p_210336_, boolean p_210337_, LevelHeightAccessor p_210338_)
-
Field Details
-
pools
-
maxDepth
private final int maxDepth -
factory
-
chunkGenerator
-
structureManager
-
pieces
-
random
-
placing
-
-
Constructor Details
-
Placer
Placer(Registry<StructureTemplatePool> p_210323_, int p_210324_, JigsawPlacement.PieceFactory p_210325_, ChunkGenerator p_210326_, StructureManager p_210327_, List<? super PoolElementStructurePiece> p_210328_, Random p_210329_)
-
-
Method Details
-
tryPlacingChildren
void tryPlacingChildren(PoolElementStructurePiece p_210334_, org.apache.commons.lang3.mutable.MutableObject<VoxelShape> p_210335_, int p_210336_, boolean p_210337_, LevelHeightAccessor p_210338_)
-