public void renderGL(int delta) {
		int ID;
		int tmprendermode=rendermode;
		RenderBlocks.renderNormalBlock((float) 500, (float) 500, (float) 500, true, 1, rendermode);

		GL11.glRotatef(rotation.x, 1, 0, 0);
		GL11.glRotatef(rotation.y, 0, 1, 0);
		GL11.glRotatef(rotation.z, 0, 0, 1);

		GL11.glTranslatef(thePlayer.x + this.theWorld.WORLD_SIZE / 2, thePlayer.y
				+ this.theWorld.WORLD_SIZE / 4, thePlayer.z
				+ this.theWorld.WORLD_SIZE / 2);
		// Vector3f destination = (Vector3f) getPickingRay(
		// Display.getWidth() / 2, Display.getHeight() / 2);
		// Ray rayPick = new Ray(new Vector3f(thePlayer.x, thePlayer.y,
		// thePlayer.z), destination);
		// GL11.glBegin(GL11.GL_LINES);
		// GL11.glColor3f(1f, 1f, 1f);
		// GL11.glVertex3f(rayPick.begin.x, rayPick.begin.y,
		// rayPick.begin.z);
		// GL11.glColor3f(.3f, .3f, .3f);
		// GL11.glVertex3f(rayPick.dest.x, rayPick.dest.y,
		// rayPick.dest.z);
		// GL11.glEnd();
		GL11.glCullFace(GL11.GL_BACK);
		// GL11.glCullFace(GL11.GL_);
		for (int cx = 0; cx < this.theWorld.WORLD_SIZE; cx++) {
			for (int cz = 0; cz < this.theWorld.WORLD_SIZE; cz++) {
				for (int x = 0; x < Chunk.CHUNK_SIZE; x++) {
					for (int y = 0; y < Chunk.CHUNK_SIZE; y++) {
						for (int z = 0; z < Chunk.CHUNK_SIZE; z++) {
							ID = this.theWorld.getBlock(x, y, z, cx, cz);
							if (ID != 0) {
								// if(/*this.theWorld.getBlock(x, y+1,
								// z, cx, cz)==Block.blockAir ||
								// */this.theWorld.getBlock(x, y-1, z,
								// cx, cz)==Block.blockAir)// ||
								// this.theWorld.getBlock(x+1, y, z, cx,
								// cz)==Block.blockAir ||
								// this.theWorld.getBlock(x-1, y, z, cx,
								// cz)==Block.blockAir ||
								// this.theWorld.getBlock(x, y, z+1, cx,
								// cz)==Block.blockAir ||
								// this.theWorld.getBlock(x, y, z-1, cx,
								// cz)==Block.blockAir)
								// {
								// System.out.println("X: " + thePlayer.x
								// + " Y: " + thePlayer.y +
								// " Z: " + thePlayer.z);
								// System.out.println("Rendering a block at: "+x+" "+y+" "+z+" Of type: "+ID);
								RenderBlocks.renderNormalBlock(
										(float) (x + (cx * 16)) * 2,
										(float) y * 2,
										(float) (z + (cz * 16)) * 2, false, ID, 
										tmprendermode);
								// }
								/*
								 * else { RenderBlocks.renderNormalBlock(
								 * (float) (x+(cx*16)) * 2, (float) y * 2,
								 * (float) (z+(cz*16)) * 2, false,
								 * Block.MELCobble.id); }
								 */
							}
						}
					}
				}
			}
		}
	}