renderWire(renderblocks, world, x, y, z, block, wireCons);
renderPlug(renderblocks, world, x, y, z, block, plugCons);
TileEntity tile = WorldPlugin.getBlockTile(world, x, y, z);
if (tile instanceof TileWire) {
TileWire wire = (TileWire) tile;
if (wire.getAddon() == AddonType.FRAME) {
BlockFrame.poweredTexture = powered;
renderFrame(renderblocks, world, x, y, z, block);
BlockFrame.poweredTexture = false;
}
}