Class WoodlandMansionPieces.MansionPiecePlacer
java.lang.Object
net.minecraft.world.level.levelgen.structure.WoodlandMansionPieces.MansionPiecePlacer
- Enclosing class:
- WoodlandMansionPieces
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Random
private int
private int
private final StructureManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addRoom1x1
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73810_, BlockPos p_73811_, Rotation p_73812_, Direction p_73813_, WoodlandMansionPieces.FloorRoomCollection p_73814_) private void
addRoom1x2
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73823_, BlockPos p_73824_, Rotation p_73825_, Direction p_73826_, Direction p_73827_, WoodlandMansionPieces.FloorRoomCollection p_73828_, boolean p_73829_) private void
addRoom2x2
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73816_, BlockPos p_73817_, Rotation p_73818_, Direction p_73819_, Direction p_73820_, WoodlandMansionPieces.FloorRoomCollection p_73821_) private void
addRoom2x2Secret
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73799_, BlockPos p_73800_, Rotation p_73801_, WoodlandMansionPieces.FloorRoomCollection p_73802_) void
createMansion
(BlockPos p_73782_, Rotation p_73783_, List<WoodlandMansionPieces.WoodlandMansionPiece> p_73784_, WoodlandMansionPieces.MansionGrid p_73785_) private void
createRoof
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73804_, BlockPos p_73805_, Rotation p_73806_, WoodlandMansionPieces.SimpleGrid p_73807_, WoodlandMansionPieces.SimpleGrid p_73808_) private void
entrance
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73787_, WoodlandMansionPieces.PlacementData p_73788_) private void
traverseInnerTurn
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73837_, WoodlandMansionPieces.PlacementData p_73838_) private void
traverseOuterWalls
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73790_, WoodlandMansionPieces.PlacementData p_73791_, WoodlandMansionPieces.SimpleGrid p_73792_, Direction p_73793_, int p_73794_, int p_73795_, int p_73796_, int p_73797_) private void
traverseTurn
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73834_, WoodlandMansionPieces.PlacementData p_73835_) private void
traverseWallPiece
(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73831_, WoodlandMansionPieces.PlacementData p_73832_)
-
Field Details
-
structureManager
-
random
-
startX
private int startX -
startY
private int startY
-
-
Constructor Details
-
MansionPiecePlacer
-
-
Method Details
-
createMansion
public void createMansion(BlockPos p_73782_, Rotation p_73783_, List<WoodlandMansionPieces.WoodlandMansionPiece> p_73784_, WoodlandMansionPieces.MansionGrid p_73785_) -
traverseOuterWalls
private void traverseOuterWalls(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73790_, WoodlandMansionPieces.PlacementData p_73791_, WoodlandMansionPieces.SimpleGrid p_73792_, Direction p_73793_, int p_73794_, int p_73795_, int p_73796_, int p_73797_) -
createRoof
private void createRoof(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73804_, BlockPos p_73805_, Rotation p_73806_, WoodlandMansionPieces.SimpleGrid p_73807_, @Nullable WoodlandMansionPieces.SimpleGrid p_73808_) -
entrance
private void entrance(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73787_, WoodlandMansionPieces.PlacementData p_73788_) -
traverseWallPiece
private void traverseWallPiece(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73831_, WoodlandMansionPieces.PlacementData p_73832_) -
traverseTurn
private void traverseTurn(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73834_, WoodlandMansionPieces.PlacementData p_73835_) -
traverseInnerTurn
private void traverseInnerTurn(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73837_, WoodlandMansionPieces.PlacementData p_73838_) -
addRoom1x1
private void addRoom1x1(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73810_, BlockPos p_73811_, Rotation p_73812_, Direction p_73813_, WoodlandMansionPieces.FloorRoomCollection p_73814_) -
addRoom1x2
private void addRoom1x2(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73823_, BlockPos p_73824_, Rotation p_73825_, Direction p_73826_, Direction p_73827_, WoodlandMansionPieces.FloorRoomCollection p_73828_, boolean p_73829_) -
addRoom2x2
private void addRoom2x2(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73816_, BlockPos p_73817_, Rotation p_73818_, Direction p_73819_, Direction p_73820_, WoodlandMansionPieces.FloorRoomCollection p_73821_) -
addRoom2x2Secret
private void addRoom2x2Secret(List<WoodlandMansionPieces.WoodlandMansionPiece> p_73799_, BlockPos p_73800_, Rotation p_73801_, WoodlandMansionPieces.FloorRoomCollection p_73802_)
-