Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for all dimension bugs; no nether, no ender dragon, minecolonies #437

Closed
ViRb3 opened this issue Nov 28, 2020 · 33 comments
Closed

Fix for all dimension bugs; no nether, no ender dragon, minecolonies #437

ViRb3 opened this issue Nov 28, 2020 · 33 comments
Labels
Bug Something isn't working Can't Fix This is not something we can fix Question A request for help and/or support, not an issue.

Comments

@ViRb3
Copy link
Contributor

ViRb3 commented Nov 28, 2020

Prior to MinecraftForge/MinecraftForge#7513 being merged into Forge, dimensions were created improperly, leading to a bunch of issues such as:

This was fixed in ATM 1.3.3, Forge 35.1.4. Every new world created after these updates will work as expected. If you can reset your world, this is the simplest and most reliable fix.

For existing worlds, however, you have to manually clean the mess. Here I propose a "universal" solution that should get you back to working. At a very high level: take a newly generated level.dat, which holds proper dimension information, and use it with your existing world. Unfortunately, this fix will not solve any problems for existing chunks - if your Ender structures are missing, or if your biomes are mixed. The only solution there is to re-create the affected dimensions, and possibly use mcaselector to transfer over any important chunks.

⚠️ NOTE: The steps described below are for a dedicated server, not for single player. For the latter, there are some major differences:

Without further ado, here is the process:

  1. Update to ATM6 1.3.3, which has the fixed Forge version 35.1.4
  2. Stop the server
  3. Use NBTExplorer to get the seed for the existing world
    image
  4. Edit your server.properties and set the seed= to your old seed noted above
  5. Rename the world folder with all of your world data to world.bak. Create a zip of it as a second backup, just in case
  6. Start the server. A new, fresh, bug-free world will be generated in a new world folder
  7. Stop the server
  8. Copy over the level.dat from the new world to the old world.bak, replacing the old level.dat. Additionally, in the old world.bak:
    • Use NBTExplorer to re-apply any properties that may be important to you, such as the server time elapsed or game rules
    • If your end dimension is impacted by the ender dragon not spawning bug, delete your DIM1 folder
    • If your nether dimension is impacted by the random biome bug, delete your DIM-1 folder
    • If you can, delete any additional dimension folders, such as the whole dimensions folder
    • Make sure you don't have anything important in the dimensions that you're deleting
  9. Delete or rename the new and now unneeded world folder
  10. Rename the old world folder, world.bak, back to world
  11. Restart the server. Everything should be fixed

We tested this on our server and it worked great. Hope it helps people.

@ViRb3 ViRb3 pinned this issue Nov 28, 2020
@ViRb3 ViRb3 added Bug Something isn't working Question A request for help and/or support, not an issue. Can't Fix This is not something we can fix labels Nov 28, 2020
@RickyvdBerg
Copy link

RickyvdBerg commented Nov 28, 2020

Thanks a lot for looking into this and providing a solution. My world has been plagued by many of these issues, I am going to implement this fix now and report back when I have results.

EDIT: IT WORKED <3

@GamingDestroyer
Copy link

How is this done for a singleplayer world?

@ViRb3
Copy link
Contributor Author

ViRb3 commented Nov 29, 2020

The same procedure, except the folder is not world, but /save/New World, where New World is your single player world's name.

@RealTrueDeviL
Copy link

Can I just add, take EVERYTHING off your character, into a chest, I just did this fix, lost everything I had on me, including a full set of ATM Armour, special weapon, the lot...

@ViRb3
Copy link
Contributor Author

ViRb3 commented Nov 30, 2020

Your character/player items are located in the playerdata folder. If you followed the instructions carefully, the only file that you will have changed is the level.dat and possibly some dimensions, but your playerdata folder should be completely intact. Either way, if you made a backup you can simply restore it and try again.

@RealTrueDeviL
Copy link

I thought it was seperate too, but my char is honestly wiped, all I have is the Astral Tome.. I did make a backup, so I'll just do it again.. :)

@RealTrueDeviL
Copy link

Ok, seems level.dat hold player inventory data...
Screenshot 2020-11-30 142826

@ViRb3
Copy link
Contributor Author

ViRb3 commented Nov 30, 2020

Is this a Single Player world by any chance?

@RealTrueDeviL
Copy link

yes, I'm guessing that matters >.< however something to note?

@RealTrueDeviL
Copy link

RealTrueDeviL commented Nov 30, 2020

Either way, you can copy the player data, from the backup, to the new one in NBTExplorer, just remember to rename it correctly, and delete the old one..

Trying it now

@ViRb3
Copy link
Contributor Author

ViRb3 commented Nov 30, 2020

Interesting. I suppose it makes sense that everything would be in level.dat if there's just one player, but I didn't know that. Thanks for letting me know. I'm afraid that I haven't tested this in single player, so I can't help much. Obviously, you will at least want to copy-paste your whole Player structure from the old save. Please let me know how you end up making this work and if there's anything else you did, so I can update the main post.

@RealTrueDeviL
Copy link

RealTrueDeviL commented Nov 30, 2020

FOR SINGLE PLAYER:

Make sure Minecraft isn't running..

Make a backup of your OLD level.dat, so you don't overwrite it, put it somewhere safe (desktop)..

Then copy from that (old level.dat) to the NEW level.dat.. (Player: xx entries)

Delete the original one, which should be Player: 43 entries..

Rename Tag - Player (Copy 1) to Player

Save, and restart MC

Screenshot 2020-11-30 142826

Now it should work, and you'll have all your items..

@Devoidsoul675
Copy link

Super helpful, thank you so much

@glahera
Copy link

glahera commented Dec 1, 2020

Very nice, thank you for your contribution. Back when server updated to 1.3.2c, I just told everyone on my server to migrate to mining dimension then delete every other dimensions (though The Other still doesn't generate any dragon...) and it works out fine for us.

@andrewsf
Copy link

andrewsf commented Dec 4, 2020

The issues with Ice and Fire are completely unrelated to the Forge dimension info bug that led to this problem.

And yes, your player data is only stored by UUID in playerdata if you are connecting to the server. If you are hosting the server (including single-player and local play open to LAN), then your data is in the level.dat file. I had been wondering why it wasn't brought up.

IMO the much better solution than copying things into a new level.dat file is to fix the old one.

  • open NBTExplorer with the existing level.dat
  • open NBTExplorer with a brand new level.dat
  • copy/paste the WorldGenSettings/dimensions entries for the_end and nether from the new level.dat file to the existing level.dat file
  • if you want a new Nether that generates correctly, delete the DIM-1 directory
  • if you want a new The End that generates correctly, delete the DIM1 directory, and copy/paste the DragonFight key from the new level.dat file to the existing level.dat file
  • if you don't want a full regeneration, use MCASelector to trim DIM-1 and/or DIM1 as you like
  • call it a day.

@RealTrueDeviL
Copy link

IMO the much better solution than copying things into a new level.dat file is to fix the old one.

* open NBTExplorer with the existing level.dat

* open NBTExplorer with a brand new level.dat

* copy/paste the `WorldGenSettings/dimensions` entries for `the_end` and `nether` from the new level.dat file to the existing level.dat file

Wait, so you're saying a 'better' solution, than copying things into a new level.dat... Is to copy things OUT of a new level.dat, into your existing one... So no difference.. Either way works.. which means it's not better.. it's equal..

I'll give you points for trying to 1-up my solution tho...

@andrewsf
Copy link

andrewsf commented Dec 4, 2020

So no difference.. Either way works.. which means it's not better.. it's equal..

Your house has a broken radiator. It's very cold. Would you prefer to get a new radiator and put it into your house? Or would you prefer to get a new house, and move everything out of your existing house?

If you know what specific things are wrong, fix those things. It's not likely you, modders, or even Mojang know every single thing in your old save file that needs to be mirrored to a fresh one to avoid data loss -- if it's even possible to move everything without winding up with some bad state due to something outside of level.dat that has to match up.

I'll give you points for trying to 1-up my solution tho...

Thank you for the internet points, but it's not your solution, it's ViRb3's solution, and I'm interested in helping users, not one-upping people.

@RealTrueDeviL
Copy link

Well, I was the one who fixed my single player, and put the solution here, which means, it worked perfectly fine, I still have all my waypoints, my save has my base, and everything's working as it should be..

Had zero side effects doing it my way..

ViRb3's solution was for servers, mine is for single player, hence why he asked me to put details of what I did to get it working... So.. Yeah, that is my solution.. Based on ViRbe's idea

@Lejoni
Copy link

Lejoni commented Dec 8, 2020

I did used this fix. And it worked fine, I could again go to the Nether and it looked much better than before.
But now again I can't zone to the Nether. Seams like something keeps breaking it.

@whatthedrunk
Copy link
Member

Going to keep this pinned for reference but close the issue for now. The new version of forge fixes this finally.

@exastencil
Copy link

exastencil commented Feb 3, 2021

I'm not sure about the other problems, but I just had an End Dimension generate without an Ender Dragon or End Fountain in All the Mods 1.5.1 with Forge 36.0.9 in a single player world.

I tried deleting the End and regenerating it, but the same problem occurred: Obsidian spires generated with crystals but no dragon or fountain. Not sure what to do now.

@ViRb3
Copy link
Contributor Author

ViRb3 commented Feb 3, 2021

@exastencil This was a known issue with Forge 36.0.9 / ATM 1.5.0. Update to Forge 36.0.13 / ATM 1.5.1 and then regenerate your End dimension to fix it.

@exastencil
Copy link

Hmm, updated to ATM 1.5.1 and Forge 36.0.13, regenerated my End dimension and still no dragon or fountain. Same as before.

@RealTrueDeviL
Copy link

RealTrueDeviL commented Feb 5, 2021

I've just checked my 'End' dimension after the 1.5.1 (ATM6) update, and I also have no Dragon, I've never killed him >.< I've not tried to re-create the end tho.. As I had a dragon there, now it's gone..

@Tops420
Copy link

Tops420 commented Feb 6, 2021

Same issue, End crystals don't summon the dragon.. Regenerating DIM1 fails to recreate the fountain (with level.dat also with edits to 0 for the dragon fight variables), fails to spawn the OG dragon also

@Tops420
Copy link

Tops420 commented Feb 7, 2021

Update to my previous post..

I fixed my issue. I had to create a fresh world using my seed, my old playerdata folder, specific MCA files in the region folder (located the ones i wanted to keep with MCAselector), certain configs i edited in the serverconfig folder, the data folder, mine colonies folder.. End was fully restored, end crystals work.. and also Nanonite Crystals started to appear from Environmental Tech Void Miner which wasn't generating previously. Hope this info is useful to someone

@RealTrueDeviL
Copy link

RealTrueDeviL commented Feb 7, 2021

@ViRb3

@exastencil This was a known issue with Forge 36.0.9 / ATM 1.5.0. Update to Forge 36.0.13 / ATM 1.5.1 and then regenerate your End dimension to fix it.

I can confirm, this method does not work, I used NBT Editor to change the 'killed' status back to 0, deleted Dim1, then started the game, got a new End, but no dragon or portal.. I didn't even go to the end when I had 1.5.0, I've not been there in a few updates, after I fixed it the 1st time..

Maybe I should try that fix again...

@eudaimyst
Copy link

eudaimyst commented Feb 8, 2021

My world was created with 1.4.9b and having this issue as of 1.5.1 Wasn't able to respawn the ender dragon and after deleting the end dimension to see if regenerating would fix it, the portal is completely missing.

(The original resolution from ViRb3 of creating a new level.dat still works)

@JheregJAB
Copy link

JheregJAB commented Mar 5, 2021

Just got this issue in ATM6 1.5.1 with forge 36.0.13. My planned troubleshooting steps are to update to 1.5.3b first, then to delete the dimension for the end and try again. If that fails I will start looking into the other troubleshooting steps listed here.

Since I am way past the supposedly effected forge version I am not completely sure its the same issue.

update: After upgrading to 1.5.3b and deleting the end dimension, the issue was not fixed. However, following the instructions in this thread to replace level.dat and also delete the end did solve the problem.

@Sakata-MC
Copy link

This appears to be back in a fresh AtM6 1.7.7 world.

@andrewsf
Copy link

andrewsf commented Aug 14, 2021

This issue (which exists primarily to document a workaround for miscellaneous symptoms, rather than an actual specific problem, and therefore should live in the Wiki) is in a Closed state.

If you have newly encountered a problem, and you do not see any other issues that describe your issue, create a new issue ticket with all the relevant data. Even if this workaround works for you, this would not be a good place to keep track of the problem.

@Shibva
Copy link

Shibva commented Nov 27, 2021

ok I tried something and I found it to work

the best solution thought having todo anything super complex like what I have seen above

all you have todo is to edit these values in the Level.dat

image
idk what one it was, but all of these were set to one and when I reloaded the world after setting those 3 to zero, the portal frame regenerated

@Possemaster
Copy link

Possemaster commented Dec 30, 2021

Just remove all children below DragonFight, save the level.dat, remove the DIM1 folder and restart the server will fix your Spawn issue in the END
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Can't Fix This is not something we can fix Question A request for help and/or support, not an issue.
Projects
None yet
Development

No branches or pull requests