Jump to content

Recommended Posts

Posted

Ghost Items normally exist because their ItemStack is existing but has an ItemCount of 0 or the Item is existing on the client but not on the Server. Make sure to set the ItemStack = null when you delete the item and not just remove a number from the count and make sure to sync the TileEntity with the client my using methods such as onDataPacket() and getDescriptionPacket() in your TileEntity. These will be called when the block gets updated (world.markBlockForUpdate) and are used to send a Packet of NBT Data to the Client for rendering purposes. The commonly used packet class is S35PacketUpdateTileEntity.class.

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.