static class WoodlandMansionPieces.Grid
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private WoodlandMansionPieces.SimpleGrid |
baseGrid |
private int |
entranceX |
private int |
entranceY |
private WoodlandMansionPieces.SimpleGrid[] |
floorRooms |
private java.util.Random |
random |
private WoodlandMansionPieces.SimpleGrid |
thirdFloorGrid |
Constructor and Description |
---|
Grid(java.util.Random randomIn) |
Modifier and Type | Method and Description |
---|---|
private boolean |
cleanEdges(WoodlandMansionPieces.SimpleGrid p_191111_1_) |
EnumFacing |
get1x2RoomDirection(WoodlandMansionPieces.SimpleGrid p_191113_1_,
int p_191113_2_,
int p_191113_3_,
int p_191113_4_,
int p_191113_5_) |
private void |
identifyRooms(WoodlandMansionPieces.SimpleGrid p_191116_1_,
WoodlandMansionPieces.SimpleGrid p_191116_2_) |
static boolean |
isHouse(WoodlandMansionPieces.SimpleGrid p_191109_0_,
int p_191109_1_,
int p_191109_2_) |
boolean |
isRoomId(WoodlandMansionPieces.SimpleGrid p_191114_1_,
int p_191114_2_,
int p_191114_3_,
int p_191114_4_,
int p_191114_5_) |
private void |
recursiveCorridor(WoodlandMansionPieces.SimpleGrid p_191110_1_,
int p_191110_2_,
int p_191110_3_,
EnumFacing p_191110_4_,
int p_191110_5_) |
private void |
setupThirdFloor() |
private final java.util.Random random
private final WoodlandMansionPieces.SimpleGrid baseGrid
private final WoodlandMansionPieces.SimpleGrid thirdFloorGrid
private final WoodlandMansionPieces.SimpleGrid[] floorRooms
private final int entranceX
private final int entranceY
public static boolean isHouse(WoodlandMansionPieces.SimpleGrid p_191109_0_, int p_191109_1_, int p_191109_2_)
public boolean isRoomId(WoodlandMansionPieces.SimpleGrid p_191114_1_, int p_191114_2_, int p_191114_3_, int p_191114_4_, int p_191114_5_)
@Nullable public EnumFacing get1x2RoomDirection(WoodlandMansionPieces.SimpleGrid p_191113_1_, int p_191113_2_, int p_191113_3_, int p_191113_4_, int p_191113_5_)
private void recursiveCorridor(WoodlandMansionPieces.SimpleGrid p_191110_1_, int p_191110_2_, int p_191110_3_, EnumFacing p_191110_4_, int p_191110_5_)
private boolean cleanEdges(WoodlandMansionPieces.SimpleGrid p_191111_1_)
private void setupThirdFloor()
private void identifyRooms(WoodlandMansionPieces.SimpleGrid p_191116_1_, WoodlandMansionPieces.SimpleGrid p_191116_2_)