Jump to content

[Resolved]Having trouble with packets.


_bau5

Recommended Posts

Multiple derps fixed.

-------------------

I've got a Block that has a rendered block/item above it if there is a valid recipe in the crafting grid. But other players can't see the render until they open the bench themselves. Also, when the world loads, you can't see the render until you open the bench, regardless if there's a valid recipe in it.

I figure this has something to do with packets, and have been working on trying to do this myself, but to no avail; I just can't seem to get any of it to work.

 

The render class for the tile entity cannot see what's in the TileEntity's class. For instance; I have the packets set up to send the the items in the crafting grid, and receive it which works (mostly) right, aside from a few randomly returning null occasionally. But from within the TileEntity the correct output stack is fine and works, but the renderer only sees null. This really perplexes me.

 

So anyways, any help would be fantastic. Thanks

Link to comment
Share on other sites

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.