Class WoodlandMansionPieces.SimpleGrid
java.lang.Object
net.minecraft.world.level.levelgen.structure.WoodlandMansionPieces.SimpleGrid
- Enclosing class:
- WoodlandMansionPieces
-
Field Summary
Modifier and TypeFieldDescriptionprivate int[][]
(package private) int
private int
(package private) int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
edgesTo(int p_73893_, int p_73894_, int p_73895_)
int
get(int p_73873_, int p_73874_)
void
set(int p_73876_, int p_73877_, int p_73878_)
void
set(int p_73885_, int p_73886_, int p_73887_, int p_73888_, int p_73889_)
void
setif(int p_73880_, int p_73881_, int p_73882_, int p_73883_)
-
Field Details
-
grid
private final int[][] grid -
width
final int width -
height
final int height -
valueIfOutside
private final int valueIfOutside
-
-
Constructor Details
-
SimpleGrid
public SimpleGrid(int p_73869_, int p_73870_, int p_73871_)
-
-
Method Details
-
set
public void set(int p_73876_, int p_73877_, int p_73878_) -
set
public void set(int p_73885_, int p_73886_, int p_73887_, int p_73888_, int p_73889_) -
get
public int get(int p_73873_, int p_73874_) -
setif
public void setif(int p_73880_, int p_73881_, int p_73882_, int p_73883_) -
edgesTo
public boolean edgesTo(int p_73893_, int p_73894_, int p_73895_)
-