0

I messed up when typing a command into a repeating command block, and accidentally summoned a bunch of armor stands, all of which were being executed to summon fire arrows every tick. There were so many entities that the world lagged to 0 fps, and I had to exit the game. I now can't get back into the world. I have heard that I can use NBTExplorer to go into the region file to delete the entities manually, but the problem is that I don't know what chunk they are in, and I have loaded way too many chunks to just comb through them all and find the specific one I'm looking for. Is there some way I can find out what chunk has the most entities, or is there some other solution?

1

You can use NBTExplorer to delete the entities.

The chunks are saved in region files that are named after the coordinates divided by 512, in the folders region for Overworld, DIM-1/region for Nether and DIM1/region for End. Close the world in Minecraft, open the corresponding file in NBTExplorer, navigate to the chunk (here NBTExplorer tells you the coordinates), delete all entries in the Level.Entities tag (or just some, if you want) and save.

3
  • The problem is that I can't get into the world (it simply won't load due to how many entities there are), so I don't know the coordinates or chunk coordinates of the problematic area. Is there some way I could find out which chunk the entities are in without going into the world? – Ravioli May 8 '20 at 15:18
  • In theory you could look at all the chunks in NBTExplorer. Maybe the region file is actually bigger in file size, but maybe it's not. You could also look at your player coordinates, in another NBT file in playerdata, the tag is called Pos. – Fabian Röling May 8 '20 at 15:31
  • I was able to look at my co-ords in the Pos tag, find the problematic chunk, and delete all the entities. I can't thank you enough for your help! – Ravioli May 8 '20 at 15:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.