Well then I guess the only other thing to ask is am I doin it right? Cause it doesnt appear to be working.
public void onItemPickup(EntityPlayer entityplayer, ItemStack itemstack) {
if(itemstack.itemID == this.itemID) {
NBTTagCompound tag = itemstack.getTagCompound();
if (tag == null) {
tag = new NBTTagCompound();
itemstack.setTagCompound(tag);
}
tag.setString("Lore", "This is a test!");
}
}
when I give mself the item from the creative inventory it has no extra text under the name. Still doesnt if I drop it and pick it back up