net.minecraft.world.level.levelgen.structure.structures

class WoodlandMansionPieces$MansionGrid

erg$c
net.minecraft.world.level.levelgen.structure.structures.WoodlandMansionPieces$MansionGrid
net.minecraft.class_3471$class_3474
net.minecraft.structure.WoodlandMansionGenerator$MansionParameters
net.minecraft.world.level.levelgen.structure.structures.WoodlandMansionPieces$c

Field summary

Modifier and TypeField
private static final int
a
DEFAULT_SIZE
field_31665
SIZE
private static final int
b
CLEAR
field_31666
UNSET
private static final int
c
CORRIDOR
field_31667
CORRIDOR
private static final int
d
ROOM
field_31668
ROOM
private static final int
e
START_ROOM
field_31669
STAIRCASE
private static final int
f
TEST_ROOM
field_31670
UNUSED
private static final int
g
BLOCKED
field_31671
OUTSIDE
private static final int
h
ROOM_1x1
field_31672
SMALL_ROOM_FLAG
private static final int
i
ROOM_1x2
field_31673
MEDIUM_ROOM_FLAG
private static final int
j
ROOM_2x2
field_31674
BIG_ROOM_FLAG
private static final int
k
ROOM_ORIGIN_FLAG
field_31675
ORIGIN_CELL_FLAG
private static final int
l
ROOM_DOOR_FLAG
field_31676
ENTRANCE_CELL_FLAG
private static final int
m
ROOM_STAIRS_FLAG
field_31677
STAIRCASE_CELL_FLAG
private static final int
n
ROOM_CORRIDOR_FLAG
field_31678
CARPET_CELL_FLAG
private static final int
o
ROOM_TYPE_MASK
field_31679
ROOM_SIZE_MASK
private static final int
p
ROOM_ID_MASK
field_31680
ROOM_ID_MASK
private final RandomSource
q
random
field_15438
random
final WoodlandMansionPieces$SimpleGrid
r
baseGrid
field_15440
baseLayout
final WoodlandMansionPieces$SimpleGrid
s
thirdFloorGrid
field_15439
thirdFloorLayout
final WoodlandMansionPieces$SimpleGrid[]
t
floorRooms
field_15443
roomFlagsByFloor
final int
u
entranceX
field_15442
entranceI
final int
v
entranceY
field_15441
entranceJ

Constructor summary

ModifierConstructor
public (RandomSource random)

Method summary

Modifier and TypeMethod
public static boolean
a(erg$g arg0, int arg1, int arg2)
isHouse(WoodlandMansionPieces$SimpleGrid arg0, int arg1, int arg2)
method_15047(class_3471$class_3478 arg0, int arg1, int arg2)
isInsideMansion(WoodlandMansionGenerator$FlagMatrix layout, int i, int j)
public boolean
a(erg$g arg0, int arg1, int arg2, int arg3, int arg4)
isRoomId(WoodlandMansionPieces$SimpleGrid arg0, int arg1, int arg2, int arg3, int arg4)
method_15039(class_3471$class_3478 arg0, int arg1, int arg2, int arg3, int arg4)
isRoomId(WoodlandMansionGenerator$FlagMatrix layout, int i, int j, int floor, int roomId)
public Direction
b(erg$g arg0, int arg1, int arg2, int arg3, int arg4)
get1x2RoomDirection(WoodlandMansionPieces$SimpleGrid arg0, int arg1, int arg2, int arg3, int arg4)
method_15040(class_3471$class_3478 arg0, int arg1, int arg2, int arg3, int arg4)
findConnectedRoomDirection(WoodlandMansionGenerator$FlagMatrix layout, int i, int j, int floor, int roomId)
private void
a(erg$g arg0, int arg1, int arg2, jm arg3, int arg4)
recursiveCorridor(WoodlandMansionPieces$SimpleGrid arg0, int arg1, int arg2, Direction arg3, int arg4)
method_15045(class_3471$class_3478 arg0, int arg1, int arg2, class_2350 arg3, int arg4)
layoutCorridor(WoodlandMansionGenerator$FlagMatrix layout, int i, int j, Direction direction, int length)
private boolean
a(erg$g arg0)
cleanEdges(WoodlandMansionPieces$SimpleGrid arg0)
method_15046(class_3471$class_3478 arg0)
adjustLayoutWithRooms(WoodlandMansionGenerator$FlagMatrix layout)
private void
a()
setupThirdFloor()
method_15048()
layoutThirdFloor()
private void
a(erg$g arg0, erg$g arg1)
identifyRooms(WoodlandMansionPieces$SimpleGrid arg0, WoodlandMansionPieces$SimpleGrid arg1)
method_15042(class_3471$class_3478 arg0, class_3471$class_3478 arg1)
updateRoomFlags(WoodlandMansionGenerator$FlagMatrix layout, WoodlandMansionGenerator$FlagMatrix roomFlags)