#Ship gliched and launched away

1 messages · Page 1 of 1 (latest)

tepid pendant
#

I was building a clockwork helicopter, at the first time it Flys, it tweaks out and launched it self away into the unloaded chunks.

I didn't record down the ships slug so I can’t get the ship back.

Is there a file I can find the slug or the ships info?

oak jay
#

I also need help in regards to this.

twin sphinx
#

1.20 has issues with wings that causes lots of yeeting

#

As for getting your ship back, you can try

/vs teleport @v[] ~ ~ ~

To teleport all ships to you. If that doesn’t work you can technically recover the ship by messing with ships.dat in your world save

#

How to read ships.dat

Open it in any nbt viewer
Data is just bytes
Copy it, paste into a file, and open as text
It's just a serialized json
Ascii encoding

It’ll then look a lot nicer if you put it into https://jsonformatter.org/

You can then see that there’s some data, and then a “ships” list (square brackets) full of ship dictionary’s (curly brackets) and each ship has an id value. You can search for your missing ships id
/slug and then change the curly brackets group it’s in
So for example:
ships: [
{
“id”: 1,
“etc”: “data”
},
{
“id”: yours,
“Position_x”: 100 (or something)
},
{
“id”: 3,
“etc”: “data”
}
]

Would become:
ships: [
{
“id”: 1,
“etc”: “data”
},
{
“id”: yours,
“Position_x”: 0 (or something)
}
]

Then do all the steps to open the file in reverse
(serialize the json, then turn the ascii string into bytes, then put it back in the ships.dat)

But before you put the file back into the world I would recommend making a backup, just in case you screw something up you don’t want to delete all your ship data

tepid pendant
#

thank you sir, have a good day