Class WoodlandMansionPieces.SimpleGrid
java.lang.Object
net.minecraft.world.level.levelgen.structure.structures.WoodlandMansionPieces.SimpleGrid
- Enclosing class:
- WoodlandMansionPieces
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int[][]
(package private) final int
private final int
(package private) final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
edgesTo
(int p_230186_, int p_230187_, int p_230188_) int
get
(int p_230168_, int p_230169_) void
set
(int p_230171_, int p_230172_, int p_230173_) void
set
(int p_230180_, int p_230181_, int p_230182_, int p_230183_, int p_230184_) void
setif
(int p_230175_, int p_230176_, int p_230177_, int p_230178_)
-
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_230164_, int p_230165_, int p_230166_)
-
-
Method Details
-
set
public void set(int p_230171_, int p_230172_, int p_230173_) -
set
public void set(int p_230180_, int p_230181_, int p_230182_, int p_230183_, int p_230184_) -
get
public int get(int p_230168_, int p_230169_) -
setif
public void setif(int p_230175_, int p_230176_, int p_230177_, int p_230178_) -
edgesTo
public boolean edgesTo(int p_230186_, int p_230187_, int p_230188_)
-