From c2d69cded2247f09860ef2a78bb5327d71bf4720 Mon Sep 17 00:00:00 2001 From: Nate Mortensen Date: Sun, 7 Jul 2013 22:31:48 -0600 Subject: Update Bukkit for Minecraft 1.6.2 --- pom.xml | 2 +- src/main/java/org/bukkit/potion/PotionEffectType.java | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 17942915..2401f819 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 org.bukkit bukkit - 1.6.1-R0.1-SNAPSHOT + 1.6.2-R0.1-SNAPSHOT Bukkit http://www.bukkit.org 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) { -- cgit v1.2.3