Solved Is it possible to remove the "Dyed" part of the lore on a Leather Armor?

Discussion in 'Spigot Plugin Development' started by raulsmail, Sep 26, 2016.

Thread Status:
Not open for further replies.
  1. Hi, I want to know if its possible to remove the "Dyed" part on Leather Armor. Thanks!
     
    • Like Like x 1
  2. Have you tried the HIDE_ATTRIBUTES item flag?
     
  3. Yes, but It's seem the same. It just removes the part where it tells you the armor protection and all that
     
  4. Try HIDE_POTION_EFFECTS, that works for banner patterns...
     
  5. I've added every single type of ItemFlag, but its seems to be the same
     
  6. Post the code?
     
  7. Code (Text):
    itemMeta.addItemFlags(ItemFlag.values());
    item.setItemMeta(itemMeta);
    But I've also tested with this:
    Code (Text):
    itemMeta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
     
  8. Odd, I'll look into later
     
    • Friendly Friendly x 1
  9. Hey @raulsmail , So I looked into it and it seems it's entirely clientside unfortunately. The only way to not have it be displayed is for the armor to not have a specified color xD. Sorry about that...
     
    • Informative Informative x 1
  10. Okay, it was what I spected, thanks!
     
Thread Status:
Not open for further replies.

Share This Page