Commits
DoctorDark authored and md_5 committed e8b6cdfa8a0
4 4 | WATER(0, null, 0), |
5 5 | REGEN(1, PotionEffectType.REGENERATION, 2), |
6 6 | SPEED(2, PotionEffectType.SPEED, 2), |
7 7 | FIRE_RESISTANCE(3, PotionEffectType.FIRE_RESISTANCE, 1), |
8 8 | POISON(4, PotionEffectType.POISON, 2), |
9 9 | INSTANT_HEAL(5, PotionEffectType.HEAL, 2), |
10 10 | NIGHT_VISION(6, PotionEffectType.NIGHT_VISION, 1), |
11 11 | WEAKNESS(8, PotionEffectType.WEAKNESS, 1), |
12 12 | STRENGTH(9, PotionEffectType.INCREASE_DAMAGE, 2), |
13 13 | SLOWNESS(10, PotionEffectType.SLOW, 1), |
14 + | JUMP(11, PotionEffectType.JUMP, 2), |
14 15 | INSTANT_DAMAGE(12, PotionEffectType.HARM, 2), |
15 16 | WATER_BREATHING(13, PotionEffectType.WATER_BREATHING, 1), |
16 17 | INVISIBILITY(14, PotionEffectType.INVISIBILITY, 1), |
17 - | JUMP(15, PotionEffectType.JUMP, 2) |
18 18 | ; |
19 19 | |
20 20 | private final int damageValue, maxLevel; |
21 21 | private final PotionEffectType effect; |
22 22 | |
23 23 | PotionType(int damageValue, PotionEffectType effect, int maxLevel) { |
24 24 | this.damageValue = damageValue; |
25 25 | this.effect = effect; |
26 26 | this.maxLevel = maxLevel; |
27 27 | } |