public void SaveWorld() throws IOException{
		fw=new FileWriter(world);
		fw.write(ReadWorldName+"\r\n");
		fw.write(ReadWorldW+"\r\n");
		fw.write(ReadWorldH+"\r\n");
		fw.write(ReadWorldLayers+"\r\n");
		for(int l=0;l<Engine.mb.BLOCKS.length;l++){
			for(int h=0;h<Engine.mb.BLOCKS[l].length;h++){
				for(int w=0;w<Engine.mb.BLOCKS[l][h].length;w++){
					fw.write(Engine.mb.BLOCKS[l][h][w].ID+" ");
				}
				fw.write("\r\n");
			}
			fw.write("\r\n");
		}
		
		fw.flush();
		fw.close();
	}