Class OceanMonumentPieces.RoomDefinition
- java.lang.Object
-
- net.minecraft.world.gen.feature.structure.OceanMonumentPieces.RoomDefinition
-
- Enclosing class:
- OceanMonumentPieces
static class OceanMonumentPieces.RoomDefinition extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
claimed
private OceanMonumentPieces.RoomDefinition[]
connections
private boolean[]
hasOpening
private int
index
private boolean
isSource
private int
scanIndex
-
Constructor Summary
Constructors Constructor Description RoomDefinition(int p_i45584_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
countOpenings()
boolean
findSource(int p_175959_1_)
boolean
isSpecial()
void
setConnection(Direction p_175957_1_, OceanMonumentPieces.RoomDefinition p_175957_2_)
void
updateOpenings()
-
-
-
Field Detail
-
index
private final int index
-
connections
private final OceanMonumentPieces.RoomDefinition[] connections
-
hasOpening
private final boolean[] hasOpening
-
claimed
private boolean claimed
-
isSource
private boolean isSource
-
scanIndex
private int scanIndex
-
-
Method Detail
-
setConnection
public void setConnection(Direction p_175957_1_, OceanMonumentPieces.RoomDefinition p_175957_2_)
-
updateOpenings
public void updateOpenings()
-
findSource
public boolean findSource(int p_175959_1_)
-
isSpecial
public boolean isSpecial()
-
countOpenings
public int countOpenings()
-
-