Bukkit enchantment objects

Discussion in 'Bukkit Discussion' started by REALDrummer, Oct 9, 2012.


Do you think Bukkit should fix this?

  1. Yes.

  2. No.

  3. I'm a Bukkit programmer and I really don't care.

  4. I'm not a Bukkit programmer, so I really don't care.

    0 vote(s)
Thread Status:
Not open for further replies.
  1. Offline


    Bukkit, can you please fix your enchantment objects? I know you tried to name the enchantments enums to make it easier for Bukkit programmers to know what enchantments do, but really, can you just name the Enchantment objects properly? It's not "WATER WORKER," it's called "Aqua Affinity." Your silly renaming makes things more difficult than they should be. I'd really appreciate it if you'd change that.

    If you agree with me, please vote on the poll!

    For those of you who don't know what I'm talking about, when you're programming in Bukkit, enchantments don't go by their normal names. They use names for what the enchantments do instead of their proper Minecraft names. For example, Flame, the enchantment that makes arrows set things on fire, is called "ARROW_FIRE." Thanks to this odd disconnect, I had to make a whole extra algorithm in my code to associate the enchantments with their proper names. It's just inefficient and silly.

    Thanks for taking the time to read this. Remember to vote!
Thread Status:
Not open for further replies.

Share This Page