summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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) {