From 74dfd2ceb7ce01d6ab7259e14e8b71ad557b9ab6 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 7 Jul 2013 22:31:48 -0600 Subject: [PATCH] Update Bukkit for Minecraft 1.6.2 By: Nate Mortensen --- paper-api/pom.xml | 2 +- .../java/org/bukkit/potion/PotionEffectType.java | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/paper-api/pom.xml b/paper-api/pom.xml index 17942915ae..2401f8194f 100644 --- a/paper-api/pom.xml +++ b/paper-api/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/paper-api/src/main/java/org/bukkit/potion/PotionEffectType.java b/paper-api/src/main/java/org/bukkit/potion/PotionEffectType.java index 536e59bf40..baf10fb1a8 100644 --- a/paper-api/src/main/java/org/bukkit/potion/PotionEffectType.java +++ b/paper-api/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) {