11 Commits

Author SHA1 Message Date
Wesley Wolfe
b4a12b30d3 Correct some magic values. This amends 1f83111208ab3612f384a2e6b65cc28423dc625e 2013-09-11 02:17:22 -05:00
Wesley Wolfe
f44eaba812 Pulling all pending Bukkit-JavaDoc changes 2013-09-10 21:02:53 -05:00
Wesley Wolfe
9620ac7d3e Deprecate magic values 2013-08-28 01:44:09 -05:00
Edmond Poon
12f5b169e0 Pulling all pending Bukkit-JavaDoc changes 2013-08-03 21:46:30 -04: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
d99c95f6d1 [Bleeding] Added Potions API. Fixes BUKKIT-389 2012-02-10 17:26:38 -05:00