diff options
author | md_5 <git@md-5.net> | 2016-03-02 06:39:01 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-03-02 06:39:01 +1100 |
commit | fbfd8d55ba0a14223999e2402f3446d1934c05f0 (patch) | |
tree | e39e0b447510bc1b87f4d1af6d17d5e178f6e7bf /src | |
parent | 41467c1f0859df434b334c88df20c995fe9b70b3 (diff) | |
download | bukkit-fbfd8d55ba0a14223999e2402f3446d1934c05f0.tar bukkit-fbfd8d55ba0a14223999e2402f3446d1934c05f0.tar.gz bukkit-fbfd8d55ba0a14223999e2402f3446d1934c05f0.tar.lz bukkit-fbfd8d55ba0a14223999e2402f3446d1934c05f0.tar.xz bukkit-fbfd8d55ba0a14223999e2402f3446d1934c05f0.zip |
SPIGOT-1576: Add more new 1.9 enchants.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/enchantments/Enchantment.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/enchantments/Enchantment.java b/src/main/java/org/bukkit/enchantments/Enchantment.java index c82d6799..a23ee5c3 100644 --- a/src/main/java/org/bukkit/enchantments/Enchantment.java +++ b/src/main/java/org/bukkit/enchantments/Enchantment.java @@ -56,6 +56,11 @@ public abstract class Enchantment { public static final Enchantment DEPTH_STRIDER = new EnchantmentWrapper(8); /** + * Freezes any still water adjacent to ice / frost which player is walking on + */ + public static final Enchantment FROST_WALKER = new EnchantmentWrapper(9); + + /** * Increases damage against all targets */ public static final Enchantment DAMAGE_ALL = new EnchantmentWrapper(16); @@ -136,6 +141,11 @@ public abstract class Enchantment { */ public static final Enchantment LURE = new EnchantmentWrapper(62); + /** + * Allows mending the item using experience orbs + */ + public static final Enchantment MENDING = new EnchantmentWrapper(70); + private static final Map<Integer, Enchantment> byId = new HashMap<Integer, Enchantment>(); private static final Map<String, Enchantment> byName = new HashMap<String, Enchantment>(); private static boolean acceptingNew = true; |