I've been making a smithing bot and I've struggled with int arrays when it comes to setting the location of the furnace.
I have this in my main class:
public static int[][] furnacePlace;
private Area furnaceArea = new Area(furnacePlace);
However, in the gui class I'm struggling to get it to take all 4 int values.
if (location.equals("Port Phasmatys")) {
KaliRings.furnacePlace[][] = { x, y, x ,y}
}
I am getting an error on the x and y values. Am I writing it wrong? or can someone explain the use of int arrays a little better to me please? Thanks.