public static void renderBlockForEntity(RenderInfo info, IBlockAccess blockAccess, int i, int j, int k, boolean doLight, boolean doTessellating) {
renderBlock(info, blockAccess, -0.5, -0.5, -0.5, i, j, k, doLight, doTessellating);
}
public static void renderAsBlock(RenderInfo info, RenderBlocks renderBlocks, IBlockAccess blockAccess, double x, double y, double z) {
BlockCube block = BlockCube.getBlock();
if (block != null) {
block.setTextureOveride(info);
renderBlocks.setRenderBounds(info.minX, info.minY, info.minZ, info.maxX, info.maxY, info.maxZ);
renderBlocks.renderStandardBlock(block, (int) x, (int) y, (int) z);
block.setTextureOveride(null);
} else
renderBlock(info, blockAccess, x, y, z, true, false);
}