Class JigsawPlacement.Placer
java.lang.Object
net.minecraft.world.level.levelgen.structure.pools.JigsawPlacement.Placer
- Enclosing class:
JigsawPlacement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChunkGeneratorprivate final intprivate final List<? super PoolElementStructurePiece> private final SequencedPriorityIterator<JigsawPlacement.PieceState> private final Registry<StructureTemplatePool> private final RandomSourceprivate final StructureTemplateManager -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePlacer(Registry<StructureTemplatePool> pools, int maxDepth, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, List<? super PoolElementStructurePiece> pieces, RandomSource random) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidtryPlacingChildren(PoolElementStructurePiece sourcePiece, org.apache.commons.lang3.mutable.MutableObject<VoxelShape> contextFree, int depth, boolean doExpansionHack, LevelHeightAccessor heightAccessor, RandomState randomState, PoolAliasLookup poolAliasLookup, LiquidSettings liquidSettings)
-
Field Details
-
pools
-
maxDepth
private final int maxDepth -
chunkGenerator
-
structureTemplateManager
-
pieces
-
random
-
placing
-
-
Constructor Details
-
Placer
private Placer(Registry<StructureTemplatePool> pools, int maxDepth, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, List<? super PoolElementStructurePiece> pieces, RandomSource random)
-
-
Method Details
-
tryPlacingChildren
private void tryPlacingChildren(PoolElementStructurePiece sourcePiece, org.apache.commons.lang3.mutable.MutableObject<VoxelShape> contextFree, int depth, boolean doExpansionHack, LevelHeightAccessor heightAccessor, RandomState randomState, PoolAliasLookup poolAliasLookup, LiquidSettings liquidSettings)
-