public boolean renderBlockTorch(Block block, int i, int j, int k) {
        int l = this.blockAccess.getBlockMetadata(i, j, k);
        Tessellator tessellator = Tessellator.instance;
        float f = block.getBlockBrightness(this.blockAccess, i, j, k);

        if (Block.lightValue[block.blockID] > 0) {
            f = 1.0F;
        }

        tessellator.setColorOpaque_F(f, f, f);
        double d = 0.4000000059604645D;
        double d1 = 0.5D - d;
        double d2 = 0.20000000298023224D;

        if (l == 1) {
            this.renderTorchAtAngle(block, (double) i - d1, (double) j + d2, (double) k, -d, 0.0D);
        } else if (l == 2) {
            this.renderTorchAtAngle(block, (double) i + d1, (double) j + d2, (double) k, d, 0.0D);
        } else if (l == 3) {
            this.renderTorchAtAngle(block, (double) i, (double) j + d2, (double) k - d1, 0.0D, -d);
        } else if (l == 4) {
            this.renderTorchAtAngle(block, (double) i, (double) j + d2, (double) k + d1, 0.0D, d);
        } else {
            this.renderTorchAtAngle(block, (double) i, (double) j, (double) k, 0.0D, 0.0D);
        }

        return true;
    }