Hey my current code is this:
int itemId = Item.getIdFromItem(Item.getItemById(Minecraft.getMinecraft().thePlayer.inventory.currentItem));
Item item = Item.getItemById(itemId);
ItemStack i = new ItemStack(item.getContainerItem());
ArrayList<String> lore = new ArrayList();
lore.add("Test");
item.addInformation(i, Minecraft.getMinecraft().thePlayer, lore, true);
but this doesnt work and I dont know why can someone help?