if(var1.id == 0) {
this.minecraft.setCurrentScreen(new OptionsScreen(this, this.minecraft.settings));
}
if(var1.id == 1) {
this.minecraft.setCurrentScreen(new GenerateLevelScreen(this));
}
if(this.minecraft.session != null && var1.id == 2) {
this.minecraft.setCurrentScreen(new LoadLevelScreen(this));
}