TileEntitySpecialRender; Using the TE to update rendering

So today I came across a little conundrum when trying to rely upon a variable in my Tile Entity to decide on whether to render part of the model. Luckily, I fond my answer on the Minecraft Forums and thought it might be helpful to post.

What you need before doing this:
– A basic mod class
– A Tile Entity and Tile Entity Special Renderer

That will schedule the update that we just prepared in the TileEntity class. Now when the rendering occurs, it will be able to actively pull data from an up-to-date TileEntity. For example, you can now say (in the renderTileEntityAt function):