Jump to content

How to prevent a minecraft crash


ZhabaKlava

Recommended Posts

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.

Link to comment
Share on other sites

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 by ZhabaKlava
Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.