Jump to content

Recommended Posts

Posted

Hello!
I was working on my custom campfire tile, and suddenly got a problem. The problem is with the rendering of the item in the campfire inventory. The TileEntityRenderer says that the inventory is empty, witch is strange cause the existing logic for the cooking food works normally. Additionally, when i leave and then rejoin the world, the item renders, but the inventory is not saved really well (could be caused because of the not finished save logic).
I would be really thankful if you could help me with this problem!

Link to the entire code; https://pastebin.com/tHZ9snN7

I'm sorry if i had presented the post not well organized. It is my first post on this forum, and I'm not sure how to a well structured post. Additionally I would give my apologies for the not well structured code, I had tried to fix it in multiple ways (unsuccessfully). Feel free to criticize the code with good criticism. I am open for improvements.

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.