12 Commits

Author SHA1 Message Date
EvilSeph
772d6ca804 Fixed typo in PotionType. 2012-10-31 11:40:11 -04:00
Wesley Wolfe
a94a0b209d Provide the 1.4.2 potions. Adds BUKKIT-2727.
Two potion types were missing from the 1.4.2 update. Invisibility and
night vision are now in the potion type enum.

Fixes an erroneous use of PotionEffectType.SPEED where it should have
been WEAKNESS.

Removed deprecation for the PotionEffectType relating to certain effects
that are now active in 1.4.2.

Fixes BUKKIT-2677, BUKKIT-2758.
2012-10-31 04:19:11 -05:00
Travis Watkins
a446bb7e8f Update Bukkit for Minecraft 1.4(.2) changes. 2012-10-27 22:15:59 -04:00
feildmaster
062a3df78d Javadoc updates
Fixes BUKKIT-1653, Fixes BUKKIT-1383 and Fixes BUKKIT-1644
2012-06-03 05:40:54 -05:00
Celtic Minstrel
bf771c192d [Bleeding] Fixed some issues with no-effect potions, and added more potion tests. Fixes BUKKIT-1251 2012-03-21 12:31:21 -04:00
Celtic Minstrel
d839b6d639 Fix javadoc errors/warnings 2012-02-29 21:31:28 -05:00
Wesley Wolfe
ca7aab6f4f [Bleeding] Cleaned up unsafe casts. Addresses BUKKIT-844
Removed internal collection leaks from PluginDescriptionFile
BREAKING: PluginDescriptionFile.getAuthors() now returns List instead of
ArrayList

Various places with unsafe generics, notably List<Object> getList() in
Configurations are now referenced as <?>. This is nonbreaking, but
sourcecode will need to be revised when compiled.
2012-02-29 10:23:16 -05:00
Celtic Minstrel
2ba3ab3fb8 [Bleeding] Fixed potion tests. 2012-02-25 18:06:20 -05:00
Celtic Minstrel
bffb985039 [Bleeding] Add ability for the Potion class to represent no-effect
potions. Addresses BUKKIT-817

- Potion's type can be null
- Add Potion.setType()
- New Potion constructors which do not take a PotionType parameter
- Potion constructor chainers splash() and extend() added
- Add PotionType.getMaxLevel() and PotionType.isInstant()
- Add PotionType.WATER which is a very special case
- Make PotionType.getDamageValue() public
2012-02-25 02:49:21 -05:00
Celtic Minstrel
569662343b [Bleeding] Deprecate the pointless Potion.Tier enum in favour of a numeric level. Addresses BUKKIT-818 2012-02-25 02:49:04 -05:00
fullwall
6db5595df7 [Bleeding] Made PotionEffectTypes final, added reasons for deprecation.
Fixes BUKKIT-768 and BUKKIT-769
2012-02-18 10:48:19 -05:00
fullwall
d99c95f6d1 [Bleeding] Added Potions API. Fixes BUKKIT-389 2012-02-10 17:26:38 -05:00