Class JigsawManager.Assembler
- java.lang.Object
-
- net.minecraft.world.gen.feature.jigsaw.JigsawManager.Assembler
-
- Enclosing class:
- JigsawManager
static final class JigsawManager.Assembler extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private ChunkGenerator
chunkGenerator
private JigsawManager.IPieceFactory
factory
private int
maxDepth
private java.util.List<? super AbstractVillagePiece>
pieces
private java.util.Deque<JigsawManager.Entry>
placing
private Registry<JigsawPattern>
pools
private java.util.Random
random
private TemplateManager
structureManager
-
Constructor Summary
Constructors Modifier Constructor Description private
Assembler(Registry<JigsawPattern> p_i242005_1_, int p_i242005_2_, JigsawManager.IPieceFactory p_i242005_3_, ChunkGenerator p_i242005_4_, TemplateManager p_i242005_5_, java.util.List<? super AbstractVillagePiece> p_i242005_6_, java.util.Random p_i242005_7_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
tryPlacingChildren(AbstractVillagePiece p_236831_1_, org.apache.commons.lang3.mutable.MutableObject<VoxelShape> p_236831_2_, int p_236831_3_, int p_236831_4_, boolean p_236831_5_)
-
-
-
Field Detail
-
pools
private final Registry<JigsawPattern> pools
-
maxDepth
private final int maxDepth
-
factory
private final JigsawManager.IPieceFactory factory
-
chunkGenerator
private final ChunkGenerator chunkGenerator
-
structureManager
private final TemplateManager structureManager
-
pieces
private final java.util.List<? super AbstractVillagePiece> pieces
-
random
private final java.util.Random random
-
placing
private final java.util.Deque<JigsawManager.Entry> placing
-
-
Constructor Detail
-
Assembler
private Assembler(Registry<JigsawPattern> p_i242005_1_, int p_i242005_2_, JigsawManager.IPieceFactory p_i242005_3_, ChunkGenerator p_i242005_4_, TemplateManager p_i242005_5_, java.util.List<? super AbstractVillagePiece> p_i242005_6_, java.util.Random p_i242005_7_)
-
-
Method Detail
-
tryPlacingChildren
private void tryPlacingChildren(AbstractVillagePiece p_236831_1_, org.apache.commons.lang3.mutable.MutableObject<VoxelShape> p_236831_2_, int p_236831_3_, int p_236831_4_, boolean p_236831_5_)
-
-