static final class JigsawManager.Assembler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Deque<JigsawManager.Entry> |
availablePieces |
private ChunkGenerator<?> |
chunkGenerator |
private int |
maxDepth |
private JigsawManager.IPieceFactory |
pieceFactory |
private java.util.Random |
rand |
private java.util.List<StructurePiece> |
structurePieces |
private TemplateManager |
templateManager |
Constructor and Description |
---|
Assembler(ResourceLocation resourceLocationIn,
int p_i50691_2_,
JigsawManager.IPieceFactory p_i50691_3_,
ChunkGenerator<?> p_i50691_4_,
TemplateManager templateManagerIn,
BlockPos p_i50691_6_,
java.util.List<StructurePiece> p_i50691_7_,
java.util.Random rand) |
Modifier and Type | Method and Description |
---|---|
private void |
tryPlacingChildren(AbstractVillagePiece villagePieceIn,
java.util.concurrent.atomic.AtomicReference<VoxelShape> atomicVoxelShape,
int p_214881_3_,
int p_214881_4_) |
private final int maxDepth
private final JigsawManager.IPieceFactory pieceFactory
private final ChunkGenerator<?> chunkGenerator
private final TemplateManager templateManager
private final java.util.List<StructurePiece> structurePieces
private final java.util.Random rand
private final java.util.Deque<JigsawManager.Entry> availablePieces
public Assembler(ResourceLocation resourceLocationIn, int p_i50691_2_, JigsawManager.IPieceFactory p_i50691_3_, ChunkGenerator<?> p_i50691_4_, TemplateManager templateManagerIn, BlockPos p_i50691_6_, java.util.List<StructurePiece> p_i50691_7_, java.util.Random rand)
private void tryPlacingChildren(AbstractVillagePiece villagePieceIn, java.util.concurrent.atomic.AtomicReference<VoxelShape> atomicVoxelShape, int p_214881_3_, int p_214881_4_)