High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies https://papermc.io/
Find a file
Bukkit/Spigot 716821eebc [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

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-24 23:18:13 -05:00
paper-api [Bleeding] Add ability for the Potion class to represent no-effect 2012-02-24 23:18:13 -05:00