mirror of
https://github.com/2006Scape-Scripts/ParaScript.git
synced 2026-07-03 00:38:36 +00:00
Update Trees.java
This commit is contained in:
@@ -5,19 +5,25 @@ import java.util.Arrays;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public enum Trees {
|
public enum Trees {
|
||||||
NORMAL("Normal", new int[]{1276, 1278, 1279, 1286, 1315, 1316}, 25),
|
NORMAL("Normal", new int[]{1276, 1277, 1278, 1279, 1280}, 1512),
|
||||||
OAK("Oak", new int[]{1281}, 37.5),
|
OAK("Oak", new int[]{1281}, 1522),
|
||||||
WILLOW ("Willow", new int[]{5551, 1308, 5553, 5552}, 47.5),
|
WILLOW ("Willow", new int[]{1308, 5551, 5552, 5553}, 1520),
|
||||||
MAPLE("Maple", new int[]{1307}, 100);
|
MAPLE("Maple", new int[]{1307}, 1518),
|
||||||
|
YEW("Yew", new int[]{1309}, 1516),
|
||||||
|
MAGIC("Magic", new int[]{1306}, 1514);
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
private int[] ids;
|
private int[] ids;
|
||||||
private double xp;
|
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.name = name;
|
||||||
this.ids = ids;
|
this.ids = ids;
|
||||||
this.xp = xp;
|
this.item_id = item_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String[] toStringArray() {
|
public static String[] toStringArray() {
|
||||||
@@ -36,5 +42,11 @@ public enum Trees {
|
|||||||
|
|
||||||
public int[] getIDs() { return this.ids; }
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user