Solved Enchanted item not glowing

Discussion in 'Plugin Development' started by VENTO, Jan 30, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    VENTO

    Hello everybody.

    I added an enchantment to ItemStack:
    Code:
    ItemStack temp = new ItemStack(Material.EMPTY_MAP, 1);
    ItemMeta meta = temp.getItemMeta();
    meta.addEnchant(Enchantment.LUCK, 1, true);
    temp.setItemMeta(meta);
    But in game this item doesn't glow:
    [​IMG]

    What I am doing wrong?
    Thanks in advance!

    P.S. a have also tried different enchants.
     
  2. I think enchantment glows are only visible on tools or weapons...
     
  3. Offline

    VENTO

    Are there any alternatives?

    As I remember, plugin TimEnchanter can enchant everything.
     
    Last edited: Jan 30, 2017
  4. Offline

    Zombie_Striker

    @FisheyLP
    Nope. The glow can be applied to all items.

    @VENTO
    Have you tried adding the enchantment to other items? Is the glow applied to those other items?
     
  5. Offline

    VENTO

    Wow, it was a problem in my resouce pack.

    Sorry for creating unnecessary thread.
     
  6. Offline

    Zombie_Striker

    @VENTO
    If your problem has been solved, mark this thread as solved.
     
Thread Status:
Not open for further replies.

Share This Page