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

class WoodlandMansionPieces$MansionGrid

ecb$c
net.minecraft.world.level.levelgen.structure.structures.WoodlandMansionPieces$MansionGrid
net.minecraft.class_3471$class_3474
net.minecraft.unmapped.C_dizzctht$C_qibwxtzr
net.minecraft.structure.WoodlandMansionGenerator$MansionParameters
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
f_foedbhvp
SIZE
DEFAULT_SIZE
f_230020_
private static final int
b
CLEAR
field_31666
f_bgopczqz
UNSET
CLEAR
f_230021_
private static final int
c
CORRIDOR
field_31667
f_dxpgjrzl
CORRIDOR
CORRIDOR
f_230022_
private static final int
d
ROOM
field_31668
f_hnranhwu
ROOM
ROOM
f_230023_
private static final int
e
START_ROOM
field_31669
f_sggsychp
STAIRCASE
START_ROOM
f_230024_
private static final int
f
TEST_ROOM
field_31670
f_juqqncwt
UNUSED
TEST_ROOM
f_230025_
private static final int
g
BLOCKED
field_31671
f_szericam
OUTSIDE
BLOCKED
f_230026_
private static final int
h
ROOM_1x1
field_31672
f_ezfergxv
SMALL_ROOM_FLAG
SMALL_ROOM
f_230027_
private static final int
i
ROOM_1x2
field_31673
f_ybsozukq
MEDIUM_ROOM_FLAG
MEDIUM_ROOM
f_230028_
private static final int
j
ROOM_2x2
field_31674
f_vitigruj
BIG_ROOM_FLAG
BIG_ROOM
f_230029_
private static final int
k
ROOM_ORIGIN_FLAG
field_31675
f_xhfkwtxf
ORIGIN_CELL_FLAG
ROOM_ORIGIN_FLAG
f_230030_
private static final int
l
ROOM_DOOR_FLAG
field_31676
f_rnxowxlr
ENTRANCE_CELL_FLAG
ROOM_DOOR_FLAG
f_230031_
private static final int
m
ROOM_STAIRS_FLAG
field_31677
f_wzcbahjq
STAIRCASE_CELL_FLAG
ROOM_STAIRS_FLAG
f_230032_
private static final int
n
ROOM_CORRIDOR_FLAG
field_31678
f_xcyteffn
CARPET_CELL_FLAG
ROOM_CORRIDOR_FLAG
f_230033_
private static final int
o
ROOM_TYPE_MASK
field_31679
f_lsczgoeh
ROOM_SIZE_MASK
ROOM_TYPE_MASK
f_230034_
private static final int
p
ROOM_ID_MASK
field_31680
f_uztkcqmc
ROOM_ID_MASK
ROOM_ID_MASK
f_230035_
private final RandomSource
q
random
field_15438
f_tleqldof
random
random
f_230036_
final WoodlandMansionPieces$SimpleGrid
r
baseGrid
field_15440
f_malzawrq
baseLayout
baseGrid
f_230037_
final WoodlandMansionPieces$SimpleGrid
s
thirdFloorGrid
field_15439
f_tqoyaxyh
thirdFloorLayout
thirdFloorGrid
f_230038_
final WoodlandMansionPieces$SimpleGrid[]
t
floorRooms
field_15443
f_qstvkutq
roomFlagsByFloor
floorRooms
f_230039_
final int
u
entranceX
field_15442
f_nqyndotx
entranceI
entranceX
f_230040_
final int
v
entranceY
field_15441
f_wjafdcao
entranceJ
entranceY
f_230041_

Constructor summary

ModifierConstructor
public (RandomSource random)

Method summary

Modifier and TypeMethod
public static boolean
a(ecb$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)
m_eeaoofpk(C_dizzctht$C_umspqkwa arg0, int arg1, int arg2)
isInsideMansion(WoodlandMansionGenerator$FlagMatrix layout, int i, int j)
isRoomOrCorridor(WoodlandMansionGenerator$Grid grid, int x, int z)
m_230047_(C_213293_$C_213300_ p_230048_, int p_230049_, int p_230050_)
public boolean
a(ecb$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)
m_ycwqbxoy(C_dizzctht$C_umspqkwa arg0, int arg1, int arg2, int arg3, int arg4)
isRoomId(WoodlandMansionGenerator$FlagMatrix layout, int i, int j, int floor, int roomId)
roomMatchesId(WoodlandMansionGenerator$Grid grid, int x, int z, int floor, int id)
m_230051_(C_213293_$C_213300_ p_230053_, int p_230054_, int p_230055_, int p_230056_, int arg4)
public Direction
b(ecb$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)
m_xlvzyxce(C_dizzctht$C_umspqkwa arg0, int arg1, int arg2, int arg3, int arg4)
findConnectedRoomDirection(WoodlandMansionGenerator$FlagMatrix layout, int i, int j, int floor, int roomId)
findAdjacentRoomWithId(WoodlandMansionGenerator$Grid grid, int x, int z, int floor, int id)
m_230067_(C_213293_$C_213300_ p_230069_, int p_230070_, int p_230071_, int p_230072_, int arg4)
private void
a(ecb$g arg0, int arg1, int arg2, ic 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)
m_qyxvqxgb(C_dizzctht$C_umspqkwa arg0, int arg1, int arg2, C_xpuuihxf arg3, int arg4)
layoutCorridor(WoodlandMansionGenerator$FlagMatrix layout, int i, int j, Direction direction, int length)
generateCorridor(WoodlandMansionGenerator$Grid grid, int x, int z, Direction direction, int recursions)
m_230057_(C_213293_$C_213300_ p_230059_, int p_230060_, int p_230061_, C_4687_ p_230062_, int arg4)
private boolean
a(ecb$g arg0)
cleanEdges(WoodlandMansionPieces$SimpleGrid arg0)
method_15046(class_3471$class_3478 arg0)
m_zgjwbtxc(C_dizzctht$C_umspqkwa arg0)
adjustLayoutWithRooms(WoodlandMansionGenerator$FlagMatrix layout)
cleanEdges(WoodlandMansionGenerator$Grid grid)
m_230045_(C_213293_$C_213300_ arg0)
private void
a()
setupThirdFloor()
method_15048()
m_evxmeddg()
layoutThirdFloor()
setupThirdFloor()
m_230066_()
private void
a(ecb$g arg0, ecb$g arg1)
identifyRooms(WoodlandMansionPieces$SimpleGrid arg0, WoodlandMansionPieces$SimpleGrid arg1)
method_15042(class_3471$class_3478 arg0, class_3471$class_3478 arg1)
m_ucdlrxop(C_dizzctht$C_umspqkwa arg0, C_dizzctht$C_umspqkwa arg1)
updateRoomFlags(WoodlandMansionGenerator$FlagMatrix layout, WoodlandMansionGenerator$FlagMatrix roomFlags)
identifyRooms(WoodlandMansionGenerator$Grid baseGrid, WoodlandMansionGenerator$Grid floorRooms)
m_230063_(C_213293_$C_213300_ p_230065_, C_213293_$C_213300_ arg1)