Posted November 6, 20187 yr So, for some crazy reason I need to keep minecraft client running despite any encountered "exception" and so on. I have to not get it crashed even if the most terrible things occurred. How can I do this?
November 7, 20187 yr 6 minutes ago, ZhabaKlava said: I have to not get it crashed even if the most terrible things occurred. Why? If the "most terrible thing" occured then you should crash the game. Actually you should crash the game in most cirumstances. What's your reason for avoiding crashes? 7 minutes ago, ZhabaKlava said: How can I do this? Apart from some edge-cases with IO/Network by writing code that works and has checks to prevent crashes. Like if you are afraid that a value is null then you check that it isn't null before proceeding, etc.
November 7, 20187 yr Author I'm trying to get out of some dimension provided by the mod which isn't mine. Basically I went to it's portal and when I appeared in that dimension my client crashed. Now it is constantly crashing when I'm logging in to the server. It's a bug in that mod. And I am currently trying to get back to the Overworld. What I really need is just to send single chat message before crash so the server could teleport me to the Overworld Edited November 7, 20187 yr by ZhabaKlava
November 7, 20187 yr Considering that it is another mod most you can do is report the crash report to the mod author. You could also change the player's dimension though MCEdit. Or alternatively you can use any NBT editor and edit the player's NBT data: Open the world.dat file with any NBT editor of your choice. Navigate to Data -> Player -> Dimension Change it to the dimension you need, like 0 for overworld. Navigate to Data -> Player -> Pos Change the values in that array to match the values of Data -> SpawnX/Y/Z to transfer the player to the spawn. Save the file. For multiplayer do the same, but instead of opening world.dat open playerdata/%UUID_OF_YOUR_PLAYER%. You can lookup the player's UUID online.
November 7, 20187 yr Author Thanks but unfortunately I do not own the server so I can't change any files there. I'll ask the administrator to change my player's dimension when he will appear online, but I was looking for a quick solution to proceed playing as soon as possible.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.