[SPIGOT-1576] craftbukkit-1.9.jar does not contain Enchantment class enums for Enchantment.FROST_WALKER and Enchantment.MENDING Created: 01/Mar/16  Updated: 01/Mar/16  Resolved: 01/Mar/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: klugemonkey Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: 1.9, api, craftbukkit, enchantment
Environment:

Jenkins build 596, craftbukkit-1.9.jar



 Description   

bukkit-1.9/src/main/java/org/bukkit/enchantments/Enchantment.java
does not contain entries for the following:

/**

  • Freezes any still water the player is walking on
    */
    public static final Enchantment FROST_WALKER = new EnchantmentWrapper(9);

and

/**

  • Allows mending the item using XP orbs
    */
    public static final Enchantment MENDING = new EnchantmentWrapper(70);

so, basically those two enchantments are not supported by the API.

Also, looks like net.minecraft.server.Enchantments may not have correct enumerations...

public static final Enchantment j = a("frost_walker");

and
public static final Enchantment A = a("mending");

instead of

public static final Enchantment FROST_WALKER = a("frost_walker");

and

public static final Enchantment MENDING = a("mending");


Generated at Sun Mar 30 18:01:20 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.