mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
SPIGOT-1576: Add more new 1.9 enchants.
This commit is contained in:
parent
41467c1f08
commit
fbfd8d55ba
1 changed files with 10 additions and 0 deletions
|
@ -55,6 +55,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
|
||||
*/
|
||||
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue