}
@Override
public void renderBlock(RenderBlocks renderblocks, IBlockAccess world, int x, int y, int z, Block block) {
// BlockSignal structure = (BlockSignal)block;
TileSwitchBase tile = (TileSwitchBase) world.getTileEntity(x, y, z);
ITrackSwitch track = null;
boolean powered = false;
int facing = 0;
if (tile != null) {
track = tile.getSwitchTrack();
facing = tile.getFacing();
powered = tile.isPowered();
}
setTextureCore();
// Core