28public enum MagicTeleports {
30 CATHERBY_TELEPORT(
"Catherby",30250,
Spellbook.LUNAR,
Animation.LUNAR_TELE,
Graphic.LUNAR_TELE,
new Item[]{new Item(Items.ASTRAL_RUNE, 3), new Item(Items.LAW_RUNE, 3), new Item(Items.WATER_RUNE, 10)},
new Position(2814, 3436, 0), 87, 67.5, -1),
31 MOONCLAN_TELEPORT(
"Moonclan",30064,
Spellbook.LUNAR,
Animation.LUNAR_TELE,
Graphic.LUNAR_TELE,
new Item[]{new Item(Items.ASTRAL_RUNE, 2), new Item(Items.LAW_RUNE, 1), new Item(Items.EARTH_RUNE, 2)},
new Position(2114, 3914, 0), 69, 66, -1),
32 OURANIA_TELEPORT(
"Ourania", 30083,
Spellbook.LUNAR,
Animation.LUNAR_TELE,
Graphic.LUNAR_TELE,
new Item[]{new Item(Items.ASTRAL_RUNE, 2), new Item(Items.LAW_RUNE, 1), new Item(Items.EARTH_RUNE, 6)},
new Position(2465, 3249, 0), 71, 69, -1),
33 BARBARIAN_TELEPORT(
"Barbarian",30138,
Spellbook.LUNAR,
Animation.LUNAR_TELE,
Graphic.LUNAR_TELE,
new Item[]{new Item(Items.ASTRAL_RUNE, 2), new Item(Items.LAW_RUNE, 2), new Item(Items.FIRE_RUNE, 3)},
new Position(2541, 3570, 0), 75, 76, -1),
34 FISHING_TELEPORT(
"Fishing",30226,
Spellbook.LUNAR,
Animation.LUNAR_TELE,
Graphic.LUNAR_TELE,
new Item[]{new Item(Items.ASTRAL_RUNE, 3), new Item(Items.LAW_RUNE, 3), new Item(Items.WATER_RUNE, 10)},
new Position(2809, 3435, 0), 85, 89, -1),
35 ICE_PLATEAU_TELEPORT(
"Ice Plateau",30266,
Spellbook.LUNAR,
Animation.LUNAR_TELE,
Graphic.LUNAR_TELE,
new Item[]{new Item(Items.ASTRAL_RUNE, 3), new Item(Items.LAW_RUNE, 3), new Item(Items.WATER_RUNE, 8)},
new Position(2971, 3936, 0), 89, 96, 53),
36 KHAZARD_TELEPORT(
"Khazard",30162,
Spellbook.LUNAR,
Animation.LUNAR_TELE,
Graphic.LUNAR_TELE,
new Item[]{new Item(Items.ASTRAL_RUNE, 2), new Item(Items.LAW_RUNE, 2), new Item(Items.WATER_RUNE, 4)},
new Position(2650, 3158, 0), 78, 80, -1),
37 WATERBIRTH_TELEPORT(
"Waterbirth", 30106,
Spellbook.LUNAR,
Animation.LUNAR_TELE,
Graphic.LUNAR_TELE,
new Item[]{new Item(Items.ASTRAL_RUNE, 2), new Item(Items.LAW_RUNE, 1), new Item(Items.WATER_RUNE, 1)},
new Position(2521, 3756, 0), 72, 71, -1),
38 APE_ATOLL_TELEPORT(
"Ape Atoll", 18470,
Spellbook.MODERN,
Animation.NORMAL_TELE,
Graphic.NORMAL_TELE,
new Item[]{new Item(Items.FIRE_RUNE, 2), new Item(Items.WATER_RUNE, 2), new Item(Items.BANANA, 1), new Item(Items.LAW_RUNE, 2)},
new Position(2744, 2754, 0), 64, 74, -1),
39 ARDOUGNE_TELEPORT(
"Ardougne", 1540,
Spellbook.MODERN,
Animation.NORMAL_TELE,
Graphic.NORMAL_TELE,
new Item[]{new Item(Items.WATER_RUNE, 2), new Item(Items.LAW_RUNE, 2)},
new Position(2757, 3478, 0), 51, 61, -1),
40 CAMELOT_TELEPORT(
"Camelot",1174,
Spellbook.MODERN,
Animation.NORMAL_TELE,
Graphic.NORMAL_TELE,
new Item[]{new Item(Items.AIR_RUNE, 5), new Item(Items.LAW_RUNE, 1)},
new Position(2757, 3478, 0), 45, 55.5, -1),
41 FALADOR_TELEPORT(
"Falador",1170,
Spellbook.MODERN,
Animation.NORMAL_TELE,
Graphic.NORMAL_TELE,
new Item[]{new Item(Items.WATER_RUNE, 1), new Item(Items.AIR_RUNE, 3), new Item(Items.LAW_RUNE, 1)},
new Position(2966, 3380, 0), 37, 48, -1),
42 KOUREND_TELEPORT(
"Kourend",-25406,
Spellbook.MODERN,
Animation.NORMAL_TELE,
Graphic.NORMAL_TELE,
new Item[]{new Item(Items.FIRE_RUNE, 5), new Item(Items.WATER_RUNE, 4), new Item(Items.SOUL_RUNE, 2), new Item(Items.LAW_RUNE, 2)},
new Position(1639, 3760, 0), 69, 81.5, -1),
43 LUMBRIDGE_TELEPORT(
"Lumbridge",1167,
Spellbook.MODERN,
Animation.NORMAL_TELE,
Graphic.NORMAL_TELE,
new Item[]{new Item(Items.EARTH_RUNE, 1), new Item(Items.AIR_RUNE, 3), new Item(Items.LAW_RUNE, 1)},
new Position(3222, 3218, 0), 31, 41, -1),
44 TROLLHEIM_TELEPORT(
"Trollheim",7455,
Spellbook.MODERN,
Animation.NORMAL_TELE,
Graphic.NORMAL_TELE,
new Item[]{new Item(Items.FIRE_RUNE, 2), new Item(Items.LAW_RUNE, 2)},
new Position(2891, 3677, 0), 61, 68, -1),
45 VARROCK_TELEPORT(
"Varrock",1164,
Spellbook.MODERN,
Animation.NORMAL_TELE,
Graphic.NORMAL_TELE,
new Item[]{new Item(Items.FIRE_RUNE, 1), new Item(Items.AIR_RUNE, 3), new Item(Items.LAW_RUNE, 1)},
new Position(3210, 3424, 0), 25, 35.5, -1),
46 WATCHTOWER_TELEPORT(
"Watchtower",1541,
Spellbook.MODERN,
Animation.NORMAL_TELE,
Graphic.NORMAL_TELE,
new Item[]{new Item(Items.EARTH_RUNE, 2), new Item(Items.LAW_RUNE, 2)},
new Position(2583, 3096, 0), 58, 68, -1);
48 private final int buttonId;
51 private final Item[] runes;
55 private final int levelRequirement;
58 private final double experience;
60 private final int wildernessLevel;
61 private final String name;
63 MagicTeleports(String name,
int buttonId,
Spellbook spellbook,
Animation animation,
Graphic graphics, Item[] runes,
Position position,
int levelRequirement,
double experience,
int wildernessLevel) {
65 this.buttonId = buttonId;
66 this.spellbook = spellbook;
67 this.animation = animation;
68 this.graphics = graphics;
70 this.position = position;
71 this.levelRequirement = levelRequirement;
72 this.experience = experience;
73 this.wildernessLevel = wildernessLevel;
76 public static MagicTeleports forButtonId(
int buttonId) {
77 for (MagicTeleports spell : MagicTeleports.values()) {
78 if (spell.getButtonId() == buttonId) {
85 public int getButtonId() {
93 public double getExperience() {
96 public String getName() {
100 public int getLevelRequirement() {
101 return levelRequirement;
104 public Item[] getRunes() {
119 public int getWildernessLevel() {
120 return wildernessLevel;