Solved How to hide enchantment text?

Discussion in 'Plugin Development' started by Tim_M, Aug 15, 2021.

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

    Tim_M

    Please don't ask why. I need to hide the enchantment text, but keep the enchanted glow effect (and yess, the item does have enchantments). Is there any way to do this?

    - Any response is appreciated.
     
  2. Offline

    OkayName

    <ItemMeta>.addItemFlags(ItemFlag.HIDE_ENCHANTS);
     
  3. Offline

    Tim_M

    Yes, I already do that, but then the item doesn't "glow".

    EDIT
    Oh sorry, turns out something else was causing it not to glow. It works now. Thanks for the response!
     
    Last edited: Aug 16, 2021
Thread Status:
Not open for further replies.

Share This Page