Recently I've been playing servers on 1.8.9, and I decided to start playing single player on version 1.7.2. When I open a world in this version, my game crashes. Here's the report
---- Minecraft Crash Report -------- Minecraft Crash Report ----// I'm sorry, Dave.
Time: 7/11/20 11:28 AMDescription: Unexpected error
java.lang.IndexOutOfBoundsException at java.nio.Buffer.checkIndex(Buffer.java:540) at java.nio.DirectIntBufferU.get(DirectIntBufferU.java:253) at bls.a(SourceFile:270) at bls.a(SourceFile:220) at azd.a(SourceFile:1675) at azd.a(SourceFile:1633) at biv.a(SourceFile:113) at gu.a(SourceFile:70) at gu.a(SourceFile:13) at ef.a(SourceFile:164) at azd.o(SourceFile:1566) at azd.ad(SourceFile:753) at azd.e(SourceFile:704) at net.minecraft.client.main.Main.main(SourceFile:103)
A detailed walkthrough of the error, its code path and all known details is as follows:---------------------------------------------------------------------------------------
-- Head --Stacktrace: at java.nio.Buffer.checkIndex(Buffer.java:540) at java.nio.DirectIntBufferU.get(DirectIntBufferU.java:253) at bls.a(SourceFile:270) at bls.a(SourceFile:220) at azd.a(SourceFile:1675) at azd.a(SourceFile:1633) at biv.a(SourceFile:113) at gu.a(SourceFile:70) at gu.a(SourceFile:13) at ef.a(SourceFile:164)
-- Affected level --Details: Level name: MpServer All players: 0 total; [] Chunk stats: MultiplayerChunkCache: 0, 0 Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (8,64,8), Chunk: (at 8,4,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 0 game time, 0 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Forced entities: 0 total; [] Retry entities: 0 total; [] Server brand: ~~ERROR~~ NullPointerException: null Server type: Integrated singleplayer serverStacktrace: at biz.a(SourceFile:284) at azd.b(SourceFile:1951) at azd.e(SourceFile:718) at net.minecraft.client.main.Main.main(SourceFile:103)
-- System Details --Details: Minecraft Version: 1.7.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 78742816 bytes (75 MB) / 234881024 bytes (224 MB) up to 2147483648 bytes (2048 MB) JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M AABB Pool Size: 18497 (1035832 bytes; 0 MB) allocated, 18497 (1035832 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 Launched Version: 1.7.2 LWJGL: 2.9.0 OpenGL: GeForce GTX 1070 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 445.87, NVIDIA Corporation Is Modded: Probably not. Jar signature remains and client brand is untouched. Type: Client (map_client.txt) Resource Packs: [TemPens Default PVP pack.zip] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1)
However, the player may create a game profile of their own in the launcher. In order to do so, they must click on the "Installations" button, then click "New..." to create one...
...If the player wants to change the .minecraft file path, they can turn on the "Game directory" option. Now, navigate to the folder where the player wishes to relocate the .minecraft folder. The player can also open the Minecraft profile by clicking the green arrow-shaped "Go to folder" button.
(I've found that you can also just type something in and a folder will automatically be created there, e.g. I have several custom directories in the .minecraft folder; ".minecraft\TMCW", ".minecraft\Testing", which I made by adding "TMCW" and "Testing" to the end of the default path).
The exact reason why the game is crashing is because it is trying to read the options.txt file from a newer version and it can't understand the settings (or tries to apply them even if they don't make sense; Mojang isn't exactly good at having the game validate the settings in this file). You could just delete this file but I don't recommend it at all (besides losing settings if you load a world in the wrong version it will be corrupted, especially for newer versions, which completely reset chunks with invalid data. 1.8.9 to 1.7.2 may not be as catastrophic but you'll still lose all items and unknown blocks/entities; going the other way, from 1.7.2 to 1.8.9, makes it impossible to downgrade again because the game will automatically upgrade and save chunks that are loaded).
Recently I've been playing servers on 1.8.9, and I decided to start playing single player on version 1.7.2. When I open a world in this version, my game crashes. Here's the report
---- Minecraft Crash Report -------- Minecraft Crash Report ----// I'm sorry, Dave.
Time: 7/11/20 11:28 AMDescription: Unexpected error
java.lang.IndexOutOfBoundsException at java.nio.Buffer.checkIndex(Buffer.java:540) at java.nio.DirectIntBufferU.get(DirectIntBufferU.java:253) at bls.a(SourceFile:270) at bls.a(SourceFile:220) at azd.a(SourceFile:1675) at azd.a(SourceFile:1633) at biv.a(SourceFile:113) at gu.a(SourceFile:70) at gu.a(SourceFile:13) at ef.a(SourceFile:164) at azd.o(SourceFile:1566) at azd.ad(SourceFile:753) at azd.e(SourceFile:704) at net.minecraft.client.main.Main.main(SourceFile:103)
A detailed walkthrough of the error, its code path and all known details is as follows:---------------------------------------------------------------------------------------
-- Head --Stacktrace: at java.nio.Buffer.checkIndex(Buffer.java:540) at java.nio.DirectIntBufferU.get(DirectIntBufferU.java:253) at bls.a(SourceFile:270) at bls.a(SourceFile:220) at azd.a(SourceFile:1675) at azd.a(SourceFile:1633) at biv.a(SourceFile:113) at gu.a(SourceFile:70) at gu.a(SourceFile:13) at ef.a(SourceFile:164)
-- Affected level --Details: Level name: MpServer All players: 0 total; [] Chunk stats: MultiplayerChunkCache: 0, 0 Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (8,64,8), Chunk: (at 8,4,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 0 game time, 0 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Forced entities: 0 total; [] Retry entities: 0 total; [] Server brand: ~~ERROR~~ NullPointerException: null Server type: Integrated singleplayer serverStacktrace: at biz.a(SourceFile:284) at azd.b(SourceFile:1951) at azd.e(SourceFile:718) at net.minecraft.client.main.Main.main(SourceFile:103)
-- System Details --Details: Minecraft Version: 1.7.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 78742816 bytes (75 MB) / 234881024 bytes (224 MB) up to 2147483648 bytes (2048 MB) JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M AABB Pool Size: 18497 (1035832 bytes; 0 MB) allocated, 18497 (1035832 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 Launched Version: 1.7.2 LWJGL: 2.9.0 OpenGL: GeForce GTX 1070 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 445.87, NVIDIA Corporation Is Modded: Probably not. Jar signature remains and client brand is untouched. Type: Client (map_client.txt) Resource Packs: [TemPens Default PVP pack.zip] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1)
Secretivedirt
Use separate game directories for old versions.
what do you mean?
Secretivedirt
So I made a new directory, and the issue persisted.
Secretivedirt
They mean to create a separate profile with its own game directory, as described here:
https://minecraft.gamepedia.com/Minecraft_launcher#Installations
(I've found that you can also just type something in and a folder will automatically be created there, e.g. I have several custom directories in the .minecraft folder; ".minecraft\TMCW", ".minecraft\Testing", which I made by adding "TMCW" and "Testing" to the end of the default path).
The exact reason why the game is crashing is because it is trying to read the options.txt file from a newer version and it can't understand the settings (or tries to apply them even if they don't make sense; Mojang isn't exactly good at having the game validate the settings in this file). You could just delete this file but I don't recommend it at all (besides losing settings if you load a world in the wrong version it will be corrupted, especially for newer versions, which completely reset chunks with invalid data. 1.8.9 to 1.7.2 may not be as catastrophic but you'll still lose all items and unknown blocks/entities; going the other way, from 1.7.2 to 1.8.9, makes it impossible to downgrade again because the game will automatically upgrade and save chunks that are loaded).
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
Ok thanks. I did make a new directory, but what solution do you propose?
Secretivedirt
Ijust deleted options.txt and it worked!
Secretivedirt