Class WoodlandMansionPieces.SimpleGrid
java.lang.Object
net.minecraft.world.gen.feature.structure.WoodlandMansionPieces.SimpleGrid
- Enclosing class:
- WoodlandMansionPieces
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int[][]
private final int
private final int
private final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
edgesTo
(int p_191147_1_, int p_191147_2_, int p_191147_3_) int
get
(int p_191145_1_, int p_191145_2_) void
set
(int p_191144_1_, int p_191144_2_, int p_191144_3_) void
set
(int p_191142_1_, int p_191142_2_, int p_191142_3_, int p_191142_4_, int p_191142_5_) void
setif
(int p_197588_1_, int p_197588_2_, int p_197588_3_, int p_197588_4_)
-
Field Details
-
grid
private final int[][] grid -
width
private final int width -
height
private final int height -
valueIfOutside
private final int valueIfOutside
-
-
Constructor Details
-
SimpleGrid
public SimpleGrid(int p_i47358_1_, int p_i47358_2_, int p_i47358_3_)
-
-
Method Details
-
set
public void set(int p_191144_1_, int p_191144_2_, int p_191144_3_) -
set
public void set(int p_191142_1_, int p_191142_2_, int p_191142_3_, int p_191142_4_, int p_191142_5_) -
get
public int get(int p_191145_1_, int p_191145_2_) -
setif
public void setif(int p_197588_1_, int p_197588_2_, int p_197588_3_, int p_197588_4_) -
edgesTo
public boolean edgesTo(int p_191147_1_, int p_191147_2_, int p_191147_3_)
-