Class WoodlandMansionPieces.Placer
- java.lang.Object
-
- net.minecraft.world.gen.feature.structure.WoodlandMansionPieces.Placer
-
- Enclosing class:
- WoodlandMansionPieces
static class WoodlandMansionPieces.Placer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Random
random
private int
startX
private int
startY
private TemplateManager
structureManager
-
Constructor Summary
Constructors Constructor Description Placer(TemplateManager p_i47361_1_, java.util.Random p_i47361_2_)
-
Method Summary
-
-
-
Field Detail
-
structureManager
private final TemplateManager structureManager
-
random
private final java.util.Random random
-
startX
private int startX
-
startY
private int startY
-
-
Constructor Detail
-
Placer
public Placer(TemplateManager p_i47361_1_, java.util.Random p_i47361_2_)
-
-
Method Detail
-
createMansion
public void createMansion(BlockPos p_191125_1_, Rotation p_191125_2_, java.util.List<WoodlandMansionPieces.MansionTemplate> p_191125_3_, WoodlandMansionPieces.Grid p_191125_4_)
-
traverseOuterWalls
private void traverseOuterWalls(java.util.List<WoodlandMansionPieces.MansionTemplate> p_191130_1_, WoodlandMansionPieces.PlacementData p_191130_2_, WoodlandMansionPieces.SimpleGrid p_191130_3_, Direction p_191130_4_, int p_191130_5_, int p_191130_6_, int p_191130_7_, int p_191130_8_)
-
createRoof
private void createRoof(java.util.List<WoodlandMansionPieces.MansionTemplate> p_191123_1_, BlockPos p_191123_2_, Rotation p_191123_3_, WoodlandMansionPieces.SimpleGrid p_191123_4_, @Nullable WoodlandMansionPieces.SimpleGrid p_191123_5_)
-
entrance
private void entrance(java.util.List<WoodlandMansionPieces.MansionTemplate> p_191133_1_, WoodlandMansionPieces.PlacementData p_191133_2_)
-
traverseWallPiece
private void traverseWallPiece(java.util.List<WoodlandMansionPieces.MansionTemplate> p_191131_1_, WoodlandMansionPieces.PlacementData p_191131_2_)
-
traverseTurn
private void traverseTurn(java.util.List<WoodlandMansionPieces.MansionTemplate> p_191124_1_, WoodlandMansionPieces.PlacementData p_191124_2_)
-
traverseInnerTurn
private void traverseInnerTurn(java.util.List<WoodlandMansionPieces.MansionTemplate> p_191126_1_, WoodlandMansionPieces.PlacementData p_191126_2_)
-
addRoom1x1
private void addRoom1x1(java.util.List<WoodlandMansionPieces.MansionTemplate> p_191129_1_, BlockPos p_191129_2_, Rotation p_191129_3_, Direction p_191129_4_, WoodlandMansionPieces.RoomCollection p_191129_5_)
-
addRoom1x2
private void addRoom1x2(java.util.List<WoodlandMansionPieces.MansionTemplate> p_191132_1_, BlockPos p_191132_2_, Rotation p_191132_3_, Direction p_191132_4_, Direction p_191132_5_, WoodlandMansionPieces.RoomCollection p_191132_6_, boolean p_191132_7_)
-
addRoom2x2
private void addRoom2x2(java.util.List<WoodlandMansionPieces.MansionTemplate> p_191127_1_, BlockPos p_191127_2_, Rotation p_191127_3_, Direction p_191127_4_, Direction p_191127_5_, WoodlandMansionPieces.RoomCollection p_191127_6_)
-
addRoom2x2Secret
private void addRoom2x2Secret(java.util.List<WoodlandMansionPieces.MansionTemplate> p_191128_1_, BlockPos p_191128_2_, Rotation p_191128_3_, WoodlandMansionPieces.RoomCollection p_191128_4_)
-
-