Sometimes end cities and woodland mansions won't completely generate when I leave the game when part of the end city is generated.
What I expected to happen: an end city / woodland mansion would generate normally when it is partially seen by the player.
What really happened: when I saw a part of the end city / woodland mansion, the generator apparently forgot to fill in the chunks that were not generated, causing cut buildings and end ships.
To reproduce: Use the seed -1681023348413992357 and teleport to -9532 94 -11211 (Don't use the /locate command in 1.13.2). Wait for the chunks to load, then exit the game. When you come back, the mansion will not be completely generated.
Related issues
is duplicated by
relates to
Attachments
Comments


I'm able to reproduce this in single player with 1.10.2.
Create a new world with seed "1".
Go to the End.
Set your render distance to 12 or 13.
/tp 1384 100 -460 0 0
Wait for terrain to load.
Exit the world and reopen.
Go south.
If your render distance was 12, there will be a line of purpur stairs from (1372,92,-265) to (1387,94,-265) that made up the very edge of one building.
If your render distance was 13, you'll see some floating towers not connected to the ground.
What seems to be happening is that if the city is in EndCity.dat when the world is loaded, its parts do not get placed into the world when the corresponding chunks are generated.

Relates to or duplicates MC-15820
If this is a duplicate please include @unknown's steps to reproduce

Not a duplicate, the reproduction here has nothing to do with exiting the game while chunks are populating.
Pretty sure this is MC-15820

Agreed.

It's not MC-15820, the cause is different.
Here's another reproduction case that proves it's a different issue:
Create a world.
Go find some end cities.
Go back to the Overworld.
Close the world.
Delete the DIM1 folder from the save, to reset the end. Do not delete EndCity.dat.
Go back to the End and see that none of the cities you previously found generate.
Close the world.
Delete the DIM1 folder from the save, to reset the end, and also delete EndCity.dat this time.
Go back to the End and see that the cities you previously found generate again.

What you just described is a completely different issue (if not intended).

What I described is the same cause, with a different visible result (entire city missing instead of city only partially missing).

MC-15820 seems to be about (in MCP terms) the whole IChunkGenerator.populate() method not being called correctly. In this bug, populate() being called but MapGenEndCity.generateStructure() is deciding not to do its thing, because when the city data is loaded from EndCity.dat the MapGenEndCity.Start.isSizeable field isn't restored properly.
If I mod MapGenEndCity.Start to set this.isSizeable = true when loading the city data from EndCity.dat, I can no longer reproduce the bug with either method.
I still confirm this NOT duplicate of MC-15820 because with villages it DOESN'T always happen, and with end cities it ALWAYS happens. I LOOKED at the screenshots, End cities aren't stacking up like the buildings in the villages, and i noticed that only the rendered chunks will spawn end city pieces, the village bug is different because the chunk bugging is more random. I generously gave screenshots to people with bad imaginations. SIMPLE PROOF: try telling the difference between the chunk generation screenshots on this bug and MC-15820 and double check the difference between them, if you cant see any difference (other than the village and end city being different generated structures) keep in note that the village probably glitches out the unseen chunks, while the end city totally deletes unseen chunks and doesn't stack buildings on top of each other. if you cant tell the difference then you probably have a tumor!
IM SERIOUS!!!
(NOT A DUPLICATE!!!!)
There's no need to add "not a duplicate" in capital letters. Your ticket will be looked at.
if you cant tell the difference then you probably have a tumor!
Please be respectful to users on the site. Saying someone has a tumor won't make your ticket not a duplicate.
I am deeply sorry about that, I was pretty grumpy when this ticket was resolved as a duplicate and i promise i wont act grumpy on the internet again. (but i still don't think this is a duplicate of MC-15820) Could you please specifically tell me why this is resolved as "Duplicate"?

Because both villages and end cities are structures, there are more structures with this kind of issues, and seperate tickets for what is essencially the same problem is not useful.
One thing about your screenshots, The parts missing also occures with villages like shown in MC-15820.
Thanks, I don't think I need to give out any more info about this ticket, I pretty much typed all the info I could possibly type, and i am glad the bug is now related to MC-15820 rather than duplicate, it just seemed as wrong as "pigs eating bacon" in many ways. I was also furious when this happened but i decided to be forgiving. I now understand why it seemed to be a duplicate. i got all the screenshots within 30 minutes, i reproduced the bug on every screenshot proving it almost always works.
This seems to be a bug with anything generated with the use of structure blocks.
Gave screenshot for woodland mansions.
I made this edit
Edit: i dont know how the code works, but i found out that transitioning from 16w43a to 16w44a in the same world fixed bugs for woodland mansions as if they generated in 16w44a, probably meaning that they generate after the world is generated, which is probably why they get cut in half in the process.

I think that I have this issue on Minecraft Pocket Edition (1.1, last one, IOS) with mansions. Woodland Mansions generate incompletely and randomly. Tested that on 3 seeds; on the SAME seed sometime the mansion is complete, sometime 1/4 of it is missing (some outside walls are missing, and some rooms or the normal entrance are missing). When the mansion is incomplete I dont find the illagers inside.
I was particularly happy to find a seed myself with a mansion within 1000 blocks of spawn. In creative mode it was perfect, complete and beautiful, full of illagers. So I decided to generate it again in survival/no cheat with friends, after 2 hours of preparation at spawn we made the trip to the mansion to make it a nice base, then full disappointment: no illager inside, and a full face of the walls was missing. 1/4 of the rooms were also missing. Decided to have another survival try on that same seed again, we rushed to the mansion quicker this time and the mansion was complete, with illagers. Observed that on two other common seeds found on youtube, the mansion is sometimes not fully generated, and this is random on the same seed. The bug seems to happen more easily in survival than in creative mode
I have not observed random incomplete generation on a same seed with other structures (at least yet)

For bugs regarding pocket edition, go to the MCPE project.

There was a related bug mentioned in MCPE project where I wanted to add my comment, but it was mentioned as a duplicate of this one

MC-120268 confirms 1.12.1.

The villages also doesn't generate completely

The villages also doesn't generate completely
That is MC-15820

I have noticed that this happens in multiplayer too, if the structure (in my case end-cities) are partially generated and I shut down the server. I use dynmap on my server, and I have taken to checking it before I shut down the server to make sure there are no end cities on the boundary of generated chunks – and if I see any I fully explore the chunks around the city before shutting down the server. I think the other types of structures are just less dense so it doesn't happen as often as end cities.
I noticed that this bug cannot be confirmed for 18w08b. if you use the seed 3585663767566414981 teleport to 856 100 -600 using a render distance of 12 in 1.12.2, and exit once you see the mansion (that is behind you once you teleport), the mansion will be cut off, but if you do the same thing in 18w08b (note that the mansion generates in a slightly different location in the snapshots, but it will still generate on the chunk border), the mansion will not be cut off.

I've seen this happen on the legacy Xbox One Edition/ Console Edition before only with the woodland mansion.

I've also seen this happen with Igloos. Oftentimes, they are completely overwritten with air and fail to generate at all, but the /locate command still finds them, which is evidence that there was supposed to be one there, but it failed to generate.

This problem is bigger than I originally thought. It happens with strongholds too. I saw a library almost completely cut off by the natural generation of stone, just a flat wall of stone (& other veins of common stuff like diorite and granite). I couldn't find any chests in that library because it was cut off so much. Recreating the world and going back, the library was still cut off, but to a lesser extent, so that I could find a chest in the lower level, but still not the upper level.

Not entirely sure if this is the exact same problem, but while I tried to find a reliable way to reproduce MC-109311 I found a Woodland Mansion to not fully generate. It misses one or two of the rear chunks over the entire width. I repeated the steps and it occurred each time, with the default 1 GB of allocated memory as well as 4 GB for JVM (-Xms4G -Xmx4G).
Specs:
Version: 1.13-pre8
Render distance: 12 chunks
60 FPS limit, V-Sync off
Windows 10 64bit, i7-6700K 4x4Ghz, Nvidia Geforce GTX 970, Samsung Evo 850 SSD
Java Version 8 Update 171 (build 1.8.0_171-b11)
Steps to reproduce:
Create a new creative world with seed: -5599346328227561486
F3+G for chunk borders
Double-tap space to fly
/locate Mansion
- it reports location -13744 ~ 2800/tp -13521 124 2822
- this is a location slight more than 12 chunks away from the mansionSlowly move in direction West (negative X) until a first part of the mansion becomes visible
Fly backwards (East) a few chunks so that the mansion disappears and wait ~5 seconds
/locate Mansion
- sometimes it reports the same location as previously, sometimes a location of another mansion is returned instead at this point.Fly to the mansion in West direction and inspect the rear side
/locate Mansion
- the incomplete mansion you are at is definitely not recognized anymore

I tried to reproduce above problem with the Woodland Mansion missing some chunks in 18w31a snapshot but the rare side was always completely generated. I did 10 attempts, with slight modifications to the steps like teleporting to the Mansion after step 7 directly, but all was good. The problem seems to be fixed, at least for the Mansion. I guess it was caused by MC-134667?
I also checked the inside briefly, and while overall generation looks fine, there were a few blocks missing in the floor:
[media]It's probably a different problem however, it looks very similar to the issues reported in MC-81467 (the Mansion spawns on a lake and there seem to be generation issues with structures over liquids).
Can confirm that this is fixed for end cities and mansions. It is safe to say that the new world generator automatically fixed this and may have even added some new quirks and glitches to the new world generator like patchy biome generation (Which may not be related to this but it still really needs to be fixed because it looks quite hideous.) (Link to mentioned glitch just in case you were wondering: MC-129485)
Still an issue it seems (MC-138289).

I found a mansion that had the back end cut off in 18w44a. Everything else seems normal?
seed: -2311162038591380054
xyz: 2035 88 -665
[media]
Has anyone seen this behavior in 1.14.4 and higher?

Yes, I did.
Was looking for elytras and found 2 cut off end ships

Did any people manage to reproduce the bug in 1.16?

Cant reproduce in 1.16.1 nor 20w27a

Use seed 4806749426090957646 on 1.16.1, then transfer to the end -3140 145 -2727. looks like.
[media]

I updated the picture. I tried it on single player. What am I doing wrong?
[media]
I can confirm for 20w28a.
[media]
This ticket is about structures appearing incomplete when the world generation is interrupted. For the new snapshot bug that causes end cities to be randomly cut, see MC-194263.

Can't get the woodland mansions cut in release 1.16.2, maybe a how to reproduce video will be helpful :S
I do this steps:
1- Generate the world with seed -1681023348413992357
2- TP to -9532 94 -11211
3- Wait until the water from the mountain goes down
4- Leave and rejoin, then check the mansion, and it always generate normally

Is this still a problem in 1.16.2 or later?

still

@unknown, this issue concerns structures being cut off when their generation is interrupted. The End Ship in the seed given in your screenshot is always incomplete regardless of whether or not the generation was interrupted, so it falls under MC-152094 instead.

could that be solved by using Jigsaw Blocks?

I cannot reproduce this in 20w51a using the seed and coordinates, following the steps to reproduce, I even interrupted the generation several times. by leaving and re-entering the world as the chunks were generating.
I cannot reproduce this myself either in the latest snapshot, 23w51b. My steps to reproduce was as follows:
Set render distance to 4
Create world with the seed 100
Place a repeating command block in spawn which runs the following command:
effect give @e[type=minecraft:shulker] minecraft:glowing infinite 1 true
Enter the end
/setblock ~ ~ ~ minecraft:end_portal
Teleport to this block:
/execute in minecraft:the_end run tp @s -864 58 800 -1.81 18.63
Fly slowly towards the location -864 ~ 1024
The second you see any amount of shulkers given the glowing effect, leave the game, and rejoin
When you load back into the world and fly towards the end city, it will continue to generate properly.