How to Fix 'Game Ended with Bad State (Exit Code 1)' in Minecraft
Several months I've been struggling on finding out how to solve this error. Shortly before giving up, I found the solution. If you believe it or not, the problem is caused by just one letter. Yes, just one! This short tutorial shows you how to fix it.
Open your Minecraft Launcher and click on the "Launch options" button.
In the settings, check the checkbox next to "Java executable" (if it isn't checked already") and there - and this is the problem - remove the w oat java, so that it looks like this:
C:\Program Files (x86)\Minecraft\runtime\jre-x64\1.8.0_25\bin\java.exe
Save it and you can play Minecraft without any problems!
If it didn't work for you, try reinstalling Java or Minecraft.
I hope I could help you!