Package net.minecraft.structure.pool
Class StructurePoolBasedGenerator.StructurePoolGenerator
java.lang.Object
net.minecraft.structure.pool.StructurePoolBasedGenerator.StructurePoolGenerator
- Enclosing class:
- StructurePoolBasedGenerator
static final class StructurePoolBasedGenerator.StructurePoolGenerator extends Object
-
Field Summary
Fields Modifier and Type Field Description private List<? super PoolStructurePiece>childrenprivate ChunkGeneratorchunkGeneratorprivate Registry<StructurePool>field_25852private intmaxSizeprivate StructurePoolBasedGenerator.PieceFactorypieceFactoryprivate Randomrandomprivate StructureManagerstructureManagerprivate Deque<StructurePoolBasedGenerator.ShapedPoolStructurePiece>structurePieces -
Constructor Summary
Constructors Modifier Constructor Description privateStructurePoolGenerator(Registry<StructurePool> registry, int int2, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> list, Random random) -
Method Summary
Modifier and Type Method Description private voidgeneratePiece(PoolStructurePiece piece, MutableObject<VoxelShape> mutableObject, int minY, int currentSize, boolean bool)
-
Field Details
-
field_25852
-
maxSize
private final int maxSize -
pieceFactory
-
chunkGenerator
-
structureManager
-
children
-
random
-
structurePieces
-
-
Constructor Details
-
StructurePoolGenerator
private StructurePoolGenerator(Registry<StructurePool> registry, int int2, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> list, Random random)
-
-
Method Details
-
generatePiece
private void generatePiece(PoolStructurePiece piece, MutableObject<VoxelShape> mutableObject, int minY, int currentSize, boolean bool)
-