private static boolean check(IBlockAccess blockAccess, int blockID) {
return active && blockAccess != null && blockID != BLOCK_ID_BED && blockID != BLOCK_ID_GLASS_PANE && Tessellator.instance instanceof SuperTessellator;
}
public static boolean setup(RenderBlocks renderBlocks, Block block, int i, int j, int k, int face, int origTexture) {
IBlockAccess blockAccess = renderBlocks.blockAccess;
if (!enableStandard || !check(blockAccess, block.blockID) || face < 0 || face > 5) {
return false;
} else if (getConnectedTexture(renderBlocks, blockAccess, block, origTexture, i, j, k, face)) {
return true;
} else {