public final void generateLevel(int var1) {
		String var2 = this.session != null?this.session.username:"anonymous";
		Level var4 = (new LevelGenerator(this.progressBar)).generate(var2, 128 << var1, 128 << var1, 64);
		this.gamemode.prepareLevel(var4);
		this.setLevel(var4);
	}