RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
OreData.java
1package com.osroyale.content.skill.impl.mining;
2
23
24public enum OreData {
25 CLAY(434, 1, 5, 11391, 15, 741_600, 5, 0.3, new int[]{11363, 11362, 7487}, -1),
26 COPPER(436, 1, 17.5, 11391, 15, 741_600, 5, 0.5, new int[]{10943, 11161, 7453}, 3.6),
27 TIN(438, 1, 17.5, 11391, 15, 741_600, 5, 0.5, new int[]{11360,11361, 7486}, 3.6),
28 IRON(440, 15, 35, 11391, 20, 741_600, 8, 0.2, new int[]{11365,11364, 7455}, 6.25),
29 SILVER(442, 20, 40, 11391, 25, 741_600, 8, 0.2, new int[]{11368,11369, 7490}, 7.8),
30 COAL(453, 30, 50, 11391, 25, 290_640, 9, 0.2, new int[]{11367, 11366, 7489}, -1),
31 GOLD(444, 40, 65, 11391, 30, 296_640, 7, 0.15, new int[]{11371, 11370, 7458}, 9),
32 MITHRIL(447, 55, 80, 11391, 50, 148_320, 9, 0.05, new int[]{11373, 11372, 7459}, 12),
33 ADAMANTITE(449, 70, 95, 11391, 75, 59_328, 11, 0.03, new int[]{11375, 11374, 7460}, 18.75),
34 RUNITE(451, 85, 125, 11391, 100, 42_337, 13, 0.02, new int[]{11377, 11376}, 25),
35 RUNE_ESSENCE(7936, 1, 25, -1, 20, 326_780, Integer.MAX_VALUE, 0.1, new int[]{34773,7471}, -1),
36 GEM_ROCK(-1, 40, 85, 11391, 75, 326_780, 2, 0.2, new int[] {11381, 11380, 9030}, -1),
37 AMETHYST(21347, 92, 240, 11393, 75, 326_780, 10, 0.2, new int[] {11389, 11388}, -1),
38 GEM_ROCK_I(-1, 40, 65, 11391, 135, 326_780, 2, 0.3, new int[] {11380, 11381, 7464}, -1),
39 ASHES(21622, 22, 125, 30986, 100, 42_337, 13, 0.02, new int[]{30985}, -1),
40
41 //30985 ash pile
42 ;
43
45 public final int ore;
46
48 public final int level;
49
51 public final double experience;
52
54 public final int replacement;
55
57 public final int respawn;
58
60 public final int pet;
61
63 public final int oreCount;
64
66 public final double success;
67
69 public final int[] objects;
70
71 public double infernalExperience;
72
74 OreData(int ore, int level, double experience, int replacement, int respawn, int pet, int oreCount, double success, int[] objects, double infernalExperience) {
75 this.objects = objects;
76 this.level = level;
77 this.experience = experience;
78 this.replacement = replacement;
79 this.respawn = respawn;
80 this.pet = pet;
81 this.oreCount = oreCount;
82 this.success = success;
83 this.ore = ore;
84 this.infernalExperience = infernalExperience;
85 }
86
88 public static OreData forId(int id) {
89 for (OreData data : OreData.values())
90 for (int object : data.objects)
91 if (object == id)
92 return data;
93 return null;
94 }
95}
OreData(int ore, int level, double experience, int replacement, int respawn, int pet, int oreCount, double success, int[] objects, double infernalExperience)
Definition OreData.java:74