static final class StructurePoolBasedGenerator.StructurePoolGenerator extends Object
Modifier and Type | Field and Description |
---|---|
private List<? super PoolStructurePiece> |
children |
private ChunkGenerator<?> |
chunkGenerator |
private int |
maxSize |
private StructurePoolBasedGenerator.PieceFactory |
pieceFactory |
private Random |
random |
private StructureManager |
structureManager |
private Deque<StructurePoolBasedGenerator.ShapedPoolStructurePiece> |
structurePieces |
Modifier | Constructor and Description |
---|---|
private |
StructurePoolGenerator(int int2,
StructurePoolBasedGenerator.PieceFactory pieceFactory,
ChunkGenerator<?> chunkGenerator,
StructureManager structureManager,
List<? super PoolStructurePiece> list,
Random random) |
Modifier and Type | Method and Description |
---|---|
private void |
generatePiece(PoolStructurePiece piece,
AtomicReference<VoxelShape> pieceShape,
int minY,
int currentSize,
boolean bool) |
private final int maxSize
private final StructurePoolBasedGenerator.PieceFactory pieceFactory
private final ChunkGenerator<?> chunkGenerator
private final StructureManager structureManager
private final List<? super PoolStructurePiece> children
private final Random random
private final Deque<StructurePoolBasedGenerator.ShapedPoolStructurePiece> structurePieces
private StructurePoolGenerator(int int2, StructurePoolBasedGenerator.PieceFactory pieceFactory, ChunkGenerator<?> chunkGenerator, StructureManager structureManager, List<? super PoolStructurePiece> list, Random random)
private void generatePiece(PoolStructurePiece piece, AtomicReference<VoxelShape> pieceShape, int minY, int currentSize, boolean bool)