Update to Minecraft 1.11

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2016-11-17 12:40:59 +11:00
parent 06e0085b98
commit f1fb3d9462
59 changed files with 646 additions and 682 deletions

View File

@@ -60,6 +60,11 @@ public abstract class Enchantment {
*/
public static final Enchantment FROST_WALKER = new EnchantmentWrapper(9);
/**
* Item cannot be removed
*/
public static final Enchantment BINDING_CURSE = new EnchantmentWrapper(10);
/**
* Increases damage against all targets
*/
@@ -146,6 +151,11 @@ public abstract class Enchantment {
*/
public static final Enchantment MENDING = new EnchantmentWrapper(70);
/**
* Item disappears instead of dropping
*/
public static final Enchantment VANISHING_CURSE = new EnchantmentWrapper(71);
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;