Posted December 5, 201410 yr 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: https://github.com/Raizunne/Miscellany/blob/master/main/java/com/raizunne/miscellany/client/render/RenderAdvReactBrewer.java 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! http://i.imgur.com/J2keQOC.png[/img]http://i.imgur.com/YHnvIfh.png[/img]
December 6, 201410 yr Author 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! http://i.imgur.com/J2keQOC.png[/img]http://i.imgur.com/YHnvIfh.png[/img]
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.