net.minecraft.structure.pool

final class StructurePoolBasedGenerator$StructurePoolGenerator

net.minecraft.world.level.levelgen.structure.pools.JigsawPlacement$Placer
net.minecraft.class_3778$class_4182
net.minecraft.structure.pool.StructurePoolBasedGenerator$StructurePoolGenerator

Field summary

Modifier and TypeField
private final Registry<StructurePool>
pools
field_25852
registry
private final int
maxDepth
field_18700
maxSize
private final ChunkGenerator
chunkGenerator
field_18702
chunkGenerator
private final StructureTemplateManager
structureTemplateManager
field_18703
structureTemplateManager
private final List<? super PoolStructurePiece>
pieces
field_18704
children
private final Random
random
field_18705
random
private final PriorityIterator<StructurePoolBasedGenerator$ShapedPoolStructurePiece>
placing
field_18706
structurePieces

Constructor summary

ModifierConstructor
private (Registry<StructurePool> registry, int maxSize, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, List<? super PoolStructurePiece> children, Random random)

Method summary

Modifier and TypeMethod
private void
tryPlacingChildren(PoolElementStructurePiece sourcePiece, org.apache.commons.lang3.mutable.MutableObject<VoxelShape> contextFree, int depth, boolean doExpansionHack, LevelHeightAccessor heightAccessor, RandomState randomState, PoolAliasLookup poolAliasLookup, LiquidSettings liquidSettings)
method_19306(class_3790 arg0, org.apache.commons.lang3.mutable.MutableObject<class_265> arg1, int arg2, boolean arg3, class_5539 arg4, class_7138 arg5, class_8891 arg6, class_9822 arg7)
generatePiece(PoolStructurePiece piece, org.apache.commons.lang3.mutable.MutableObject<VoxelShape> pieceShape, int depth, boolean modifyBoundingBox, HeightLimitView world, NoiseConfig noiseConfig, StructurePoolAliasLookup aliasLookup, StructureLiquidSettings liquidSettings)
private int
lambda$tryPlacingChildren$1(BoundingBox arg0, PoolAliasLookup arg1, StructureTemplate$JigsawBlockInfo arg2)
method_19305(class_3341 arg0, class_8891 arg1, class_3499$class_10326 arg2)
method_19305(BlockBox arg0, StructurePoolAliasLookup arg1, StructureTemplate$JigsawBlockInfo jigsawInfo)
private Integer
lambda$tryPlacingChildren$4(Holder arg0)
method_31113(class_6880 arg0)
method_31113(RegistryEntry entry)
private Integer
lambda$tryPlacingChildren$3(Holder arg0)
method_31114(class_6880 arg0)
method_31114(RegistryEntry entry)
private static RegistryEntry
lambda$tryPlacingChildren$2(Holder arg0)
method_31115(class_6880 arg0)
method_31115(RegistryEntry entry)
private static String
lambda$tryPlacingChildren$0(ResourceKey arg0)
method_46730(class_5321 arg0)
method_46730(RegistryKey key)