Okay thank you for that, but it still does not seem to work, fully, on a vanilla server:
public void event(PlayerInteractEvent e) {
System.out.println("test");
ItemStack item = new ItemStack(Items.sign);
item.setTagCompound(new NBTTagCompound());
NBTTagCompound tag = item.getTagCompound();
tag.setTag("BlockEntityTag", tag.copy());
NBTTagCompound blockEntityTag = tag.getCompoundTag("BlockEntityTag");
blockEntityTag.setString("id", "Sign");
blockEntityTag.setString("Text1", "Line 1");
blockEntityTag.setString("Text2", "Line 2");
blockEntityTag.setString("Text3", "Line 3");
cl.mc.playerController.sendSlotPacket(item, 0 *woops I changed it to 20*);
Issue is, the console in Eclipse, never spits out "test" with the code above ^. However when I just spawn in, a plain old, itemstack it spits out "test".
(Plain old Itemstack
public void event(PlayerInteractEvent e) {
System.out.println("test");
ItemStack item = new ItemStack(Items.sign);
cl.mc.playerController.sendSlotPacket(item, 20);