Update Trees.java

This commit is contained in:
Danial
2021-10-07 12:51:03 +13:00
parent c8f2521e64
commit 7464f87e3a
@@ -5,19 +5,25 @@ import java.util.Arrays;
import java.util.List;
public enum Trees {
NORMAL("Normal", new int[]{1276, 1278, 1279, 1286, 1315, 1316}, 25),
OAK("Oak", new int[]{1281}, 37.5),
WILLOW ("Willow", new int[]{5551, 1308, 5553, 5552}, 47.5),
MAPLE("Maple", new int[]{1307}, 100);
NORMAL("Normal", new int[]{1276, 1277, 1278, 1279, 1280}, 1512),
OAK("Oak", new int[]{1281}, 1522),
WILLOW ("Willow", new int[]{1308, 5551, 5552, 5553}, 1520),
MAPLE("Maple", new int[]{1307}, 1518),
YEW("Yew", new int[]{1309}, 1516),
MAGIC("Magic", new int[]{1306}, 1514);
private String name;
private int[] ids;
private double xp;
private int item_id;
public int hash = 0;
public int x = 0;
public int y = 0;
Trees(String name, int[] ids, double xp) {
Trees(String name, int[] ids, int item_id) {
this.name = name;
this.ids = ids;
this.xp = xp;
this.item_id = item_id;
}
public static String[] toStringArray() {
@@ -36,5 +42,11 @@ public enum Trees {
public int[] getIDs() { return this.ids; }
public double getXP() { return this.xp; }
public int getItemID() { return this.item_id; }
public void reset(){
this.hash = 0;
this.x = 0;
this.y = 0;
}
}