summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNate Mortensen <nate.richard.mortensen@gmail.com>2013-07-07 22:31:48 -0600
committermbax <matt@phozop.net>2013-07-08 20:00:58 -0400
commitc2d69cded2247f09860ef2a78bb5327d71bf4720 (patch)
tree70103bbdd240a7ba768258a699e56b3a02df9802 /src
parenta892c110e584ccea21192ce08f5c40948896313b (diff)
downloadbukkit-c2d69cded2247f09860ef2a78bb5327d71bf4720.tar
bukkit-c2d69cded2247f09860ef2a78bb5327d71bf4720.tar.gz
bukkit-c2d69cded2247f09860ef2a78bb5327d71bf4720.tar.lz
bukkit-c2d69cded2247f09860ef2a78bb5327d71bf4720.tar.xz
bukkit-c2d69cded2247f09860ef2a78bb5327d71bf4720.zip
Update Bukkit for Minecraft 1.6.2
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/potion/PotionEffectType.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/potion/PotionEffectType.java b/src/main/java/org/bukkit/potion/PotionEffectType.java
index 536e59bf..baf10fb1 100644
--- a/src/main/java/org/bukkit/potion/PotionEffectType.java
+++ b/src/main/java/org/bukkit/potion/PotionEffectType.java
@@ -109,6 +109,22 @@ public abstract class PotionEffectType {
*/
public static final PotionEffectType WITHER = new PotionEffectTypeWrapper(20);
+ /**
+ * Increases the maximum health of an entity.
+ */
+ public static final PotionEffectType HEALTH_BOOST = new PotionEffectTypeWrapper(21);
+
+ /**
+ * Increases the maximum health of an entity with health that cannot be
+ * regenerated, but is refilled every 30 seconds.
+ */
+ public static final PotionEffectType ABSORPTION = new PotionEffectTypeWrapper(22);
+
+ /**
+ * Increases the food level of an entity each tick.
+ */
+ public static final PotionEffectType SATURATION = new PotionEffectTypeWrapper(23);
+
private final int id;
protected PotionEffectType(int id) {