Jump to content

[1.7.10][SOLVED]EntityItem not rendering when loading world.


Recommended Posts

Here's a gfy representation of the problem I'm having:



So basically I have a TileEntitySpecialRenderer, and I have it so that the item that is in a specific slot of the TileEntity is rendered on the block model. The problem is that when I enter the world the items are not rendered until I click the block and open the GUI, then the items appear. What am I missing so that when I load the world the items load without having to click the block. I'm guessing there's something to do with the TileEntity?


Here's the code for the TileEntitySpecialRenderer:



EDIT: Tile Entity code: https://github.com/Raizunne/Miscellany/blob/master/main/java/com/raizunne/miscellany/tileentities/TileEntityAdvReactBrewer.java


Thanks in advance for the help!

Link to comment
Share on other sites

Yup that did it! I used a tutorial from here: https://countrygamer.wordpress.com/minecraft-tutorials/tileentityspecialrender-using-the-te-to-update-rendering/


It was a little outdated, and it caused me GL11 problems, but moving the stuff that the tutorial tells you to put in the TESR in the block's updateTick will do.


Thanks for the help!

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.

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.

  • Create New...

Important Information

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