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>
children
private ChunkGenerator
chunkGenerator
private Registry<StructurePool>
field_25852
private int
maxSize
private StructurePoolBasedGenerator.PieceFactory
pieceFactory
private Random
random
private StructureManager
structureManager
private Deque<StructurePoolBasedGenerator.ShapedPoolStructurePiece>
structurePieces
-
Constructor Summary
Constructors Modifier Constructor Description private
StructurePoolGenerator(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 void
generatePiece(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)
-