WiNeTel Posted November 9, 2012 Posted November 9, 2012 Hello. i have a customBlock all rendering work good, in the tileEntity have 2 parts 1. part get called over "onBlockActivated" depend the Item i use i change a few Variables stored in the tileEntity and depend the Variable changing the Texture, here work all good! 2. part, get called over "updateTick" here start a process that counts the Variables up and down, the packetHandler work, but the textures are not changing, i get the variables in the renderBlock.class with "tile.getVariablex()" how to say him to update the texture ? when change code in the renderBlock.class to get the variable from "blockx.getVariableX()" and the block get it from the TileEntity then the blockrender work and update the textures, but then have the problem that the variableX is private static and all blocks use the same value! Quote
Recommended Posts
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.