Ok.. So.. I'm trying to get the itemstack name from an entity item and put it as an customname for the entity..
Now, this is a client side mod, meaning it does not add those items, and the items are not so much vanilla like..
Those items are generated by plugins on a server and they have custom everything, sooo, I was trying to get
for example a healing potion which on the item name it says: "{LightRedFormat}Potion of Healing {DarkRedformat}[3/3]" now I'm using itemstack.getDisplayName()
and it is just showing: "HEALING 19" instead of the real item name..
Thanks for anyone helping in advance..