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

class WoodlandMansionPieces$MansionGrid

emn$c
net.minecraft.world.level.levelgen.structure.structures.WoodlandMansionPieces$MansionGrid
net.minecraft.class_3471$class_3474
net.minecraft.structure.WoodlandMansionGenerator$MansionParameters
net.minecraft.src.C_213293_$C_213296_
net.minecraft.world.level.levelgen.structure.structures.WoodlandMansionPieces$c

Field summary

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

Constructor summary

ModifierConstructor
public (RandomSource random)

Method summary

Modifier and TypeMethod
public static boolean
a(emn$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)
m_230047_(C_213293_$C_213300_ p_230048_, int p_230049_, int p_230050_)
public boolean
a(emn$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)
m_230051_(C_213293_$C_213300_ p_230053_, int p_230054_, int p_230055_, int p_230056_, int arg4)
public Direction
b(emn$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)
m_230067_(C_213293_$C_213300_ p_230069_, int p_230070_, int p_230071_, int p_230072_, int arg4)
private void
a(emn$g arg0, int arg1, int arg2, ji 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)
m_230057_(C_213293_$C_213300_ p_230059_, int p_230060_, int p_230061_, C_4687_ p_230062_, int arg4)
private boolean
a(emn$g arg0)
cleanEdges(WoodlandMansionPieces$SimpleGrid arg0)
method_15046(class_3471$class_3478 arg0)
adjustLayoutWithRooms(WoodlandMansionGenerator$FlagMatrix layout)
m_230045_(C_213293_$C_213300_ arg0)
private void
a()
setupThirdFloor()
method_15048()
layoutThirdFloor()
m_230066_()
private void
a(emn$g arg0, emn$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)
m_230063_(C_213293_$C_213300_ p_230065_, C_213293_$C_213300_ arg1)