| Type: | Bug | ||
| Reporter: | [Mod] markderickson | Assignee: | [Mojang] Cory Scheviak |
| Resolution: | Fixed | Votes: | 247 |
| Labels: | biomes, bulk, chunks, double-plant, grass, lake, mojang_internal_1, plains, tall_grass, world-generation | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CHK: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Category: |
World generation
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Mojang Priority: | Important | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
| Comments |
| Comment by [Mod] violine1101 [ 08/Dec/22 ] |
|
For any future or present worldgen issues similar to this, please create a new bug report if none exists yet. |
| Comment by SomeOne10YT [ 08/Dec/22 ] |
|
i have seen this before in 1.19.2 |
| Comment by Netheritedrifter [ 17/Dec/21 ] |
|
Because it was fixed after 1.18 go to later versions. |
| Comment by Miao Siyuan [ 15/Jul/21 ] |
|
为什么1.16后草有时能浮空的bug又重新存在了呢? Why can grass sometimes float after 1.16? Why does bug reappear? |
| Comment by Makzevu [ 16/Jun/21 ] |
|
Does that appear on the same seed in an unmodified client (no Optifine)? Edit: If so, you might be experiencing MC-140727. |
| Comment by Alex2020 [ 16/Jun/21 ] |
| Comment by [Mod] Anthony Cicinelli [ 20/May/21 ] |
|
Tokes The tree one is MC-225839 it is marked with 1.16.5 since it wasn't actually fixed with this report so you won't find it in the reddit report |
| Comment by Tokes [ 20/May/21 ] |
|
Not properly fixed. I assume this means the "fix" made the symptoms 99% less common, but new tickets have been opened for supposedly fixed aspects of this bug:
I'm just working off the "bug reports new as of 21w20a" page: https://www.reddit.com/r/Mojira/comments/ngaymy/bugtracker_report_21w20a/
|
| Comment by [Helper] Johnibur [ 19/May/21 ] |
|
Please open a new issue with reproduction steps for any case which does not seem fixed. We will link the new ticket to this issue. |
| Comment by user-39d6c (Inactive) [ 19/May/21 ] |
|
as it wasn't fixed actually, it may be reopened, however the fix works... But not always |
| Comment by Robert Shelling [ 19/May/21 ] |
|
do we open up a new issue for the tree thing then? |
| Comment by [Helper] Johnibur [ 19/May/21 ] |
|
Please keep this issue free of any additional comment.
Quick Links: |
| Comment by Dylan Way [ 19/May/21 ] |
|
Oh my god they actually fixed it. I never thought I'd see the day. |
| Comment by heyimspook [ 19/May/21 ] |
|
LET'S GOOOOO, this is one of the two bugs that I've always wanted fixed the most in the entire game, this is literally a dream come true for me, thanks so much slicedlime! |
| Comment by Enes Ercan [ 19/May/21 ] |
|
No joke, i have been waiting this bug to be fixed for years. Well done guys. |
| Comment by [Mojang] slicedlime [ 19/May/21 ] |
|
This has now been fixed for everything except trees. For any remaining or reintroduced issues, please open new and specific reports with new repro steps. |
| Comment by user-c84db (Inactive) [ 05/May/21 ] |
|
I think |
| Comment by Orbic [ 05/May/21 ] |
|
In 21w18a |
| Comment by Aarav Mehra [ 05/May/21 ] |
|
lol, bug since 1.4.2 and still not fixed. |
| Comment by Spencer [ 01/May/21 ] |
|
Can confirm for 21w17a |
| Comment by Orbic [ 29/Apr/21 ] |
|
In 21w17a |
| Comment by TheNormalestPeep [ 21/Apr/21 ] |
|
Can confirm in 21w16a. |
| Comment by user-68c81 (Inactive) [ 21/Apr/21 ] |
|
I created a collection issue in |
| Comment by [Mod] Avoma [ 19/Apr/21 ] |
|
Can confirm in 21w15a. |
| Comment by [Mod] Avoma [ 12/Apr/21 ] |
|
Can confirm in 21w14a. |
| Comment by user-68c81 (Inactive) [ 07/Apr/21 ] |
|
This happens because terrain features such as lake_lava, lake_water, disk_gravel, disk_clay and disk_sand are applied after features such as trees and grass, causing them to appear in incorrect places. Fixing this would be fairly trivial, by making such features that change the terrain be applied before features that simply add things. |
| Comment by [Mod] Avoma [ 04/Apr/21 ] |
|
Can confirm in 21w13a. |
| Comment by bugsbugsbugs [ 15/Mar/21 ] |
|
If the snow generates floating it may even prevent you from noticing that the lake is there. Here is another example: Seed: 3722430670368519204 Coordinates: /execute in minecraft:overworld run tp @s -8505.59 75.28 -914.79 2.19 53.24 |
| Comment by Pescavelho the Idle [ 10/Mar/21 ] |
|
As of 21w10a, this happens with cave vines too. |
| Comment by Jesse Scott [ 26/Feb/21 ] |
|
Acacia villages have this EVERYWHERE! mostly just grass in the houses and floating water in the farms. |
| Comment by [Mod] Avoma [ 25/Feb/21 ] |
|
Can confirm in 21w08b. |
| Comment by Boas Bakker [ 24/Feb/21 ] |
|
Also not only gravel and sand patch generation is affected by this, also structures like villages can let grass generate in locations it shouldn't |
| Comment by Boas Bakker [ 24/Feb/21 ] |
|
Can confirm in 21w08a |
| Comment by [Mod] Avoma [ 04/Feb/21 ] |
|
Can confirm in 21w05b. |
| Comment by [Mod] Avoma [ 03/Feb/21 ] |
|
Can confirm in 21w05a. |
| Comment by [Mod] SPGoding [ 28/Jan/21 ] |
|
Person3224: please stop posting unhelpful comment. |
| Comment by Testing [ 20/Jan/21 ] |
|
21w03a. |
| Comment by Brevort [ 10/Jan/21 ] |
|
Also in 51a. |
| Comment by Testing [ 23/Dec/20 ] |
|
This happens to me if plant generates on sand and gravel and other block that generates in-natural. Also the plants and grasses are floating on air This affects other latest snapshot, if it could be fixed above the future. |
| Comment by [Mod] violine1101 [ 04/Dec/20 ] |
|
Nixinova, try watching the bug report and unwatching it again, I assume this is a JIRA bug. If that doesn't solve your issue, please contact me via Discord. |
| Comment by Markku [ 04/Dec/20 ] |
|
Nixinova, if you have (or don't mind to get) an access to Discord, the official help channel for this "Mojira" is there: https://discord.gg/rpCyfKV Might also manage to work it out via https://www.reddit.com/r/Mojira I.e. try and get some mods to get some Mojira admin (probably Mojang staff) to check things out. Perhaps there is some glitch going on or some deeply buried setting or whatnot. |
| Comment by Nixinova [ 04/Dec/20 ] |
|
As I said a year and a half ago, how do I turn off email notifs for this when I'm not even watching it? |
| Comment by [Mod] Avoma [ 02/Dec/20 ] |
|
Can confirm in 20w49a. |
| Comment by [Helper] gaspoweredpick [ 27/Nov/20 ] |
|
This can happen with amethyst geodes as well. |
| Comment by [Mod] Avoma [ 25/Nov/20 ] |
|
Can confirm in 20w48a. |
| Comment by [Mod] violine1101 [ 12/Nov/20 ] |
|
Please don't attach any more screenshots to this ticket. Thank you. And was already said, if you want to discuss this issue please do so on /r/Mojira, not in this comment section. |
| Comment by MMK21 [ 23/Sep/20 ] |
|
Please use the subreddit for discussion. |
| Comment by James Rahimo [ 17/Sep/20 ] |
|
this also occurs on seed -4977636324086404853 at 49, 71, -79, on 1.16.3
|
| Comment by MartyMacGyver [ 02/Sep/20 ] |
|
I'm not a MC dev, but a fix should just require checking for grass or snow above air blocks. I expect this would add some small load during chunk generation, but it isn't the same as a fix for suspended sand/gravel (which IMHO would be recursive in nature). Not that the latter is the same kind of problem, but it's another example of generate-then-sweep behavior. |
| Comment by Mateus Pereira Milbradt [ 31/Aug/20 ] |
|
I think that this has even caused hardcore deaths just because the snow doesn't has melted yet |
| Comment by W_V [ 26/Aug/20 ] |
|
Grass can also replace parts of trees. |
| Comment by W_V [ 18/Aug/20 ] |
|
MishMoshKeel21, that is not quite true. I've seen deaths by lava because of this bug (snow in the air that didn't melt yet). |
| Comment by MMK21 [ 18/Aug/20 ] |
|
Worldgen has been (semi-)overhauled many times since 1.4. I'm not sure why this bug is Important, it's a bit of a quirk, doesn't affect any gameplay. I'm assuming that they'd like to fix this (at least to free up some time for the mods marking duplicates) but the risk / chance of a fix causing more bugs is probably not worth it. |
| Comment by Tinay [ 18/Aug/20 ] |
|
Mojang Priority is important (but secretly l o w) Maybe they will fix that in 1.17? Because the Mountain Update is coming, they will partly change the generation |
| Comment by MMK21 [ 25/Jun/20 ] |
|
Don't think we need any more screenshots? |
| Comment by Exe Files [ 25/Jun/20 ] |
|
Still affects 1.16.1
|
| Comment by MMK21 [ 23/Jun/20 ] |
|
Affects 1.16 |
| Comment by W_V [ 15/Jun/20 ] |
|
Bamboo and ferns also work |
| Comment by Selin [ 11/Jun/20 ] |
|
I can't believe that it takes so long for Mojang to not fix this bug. Bug is so annoying and visually easy to spot and i don't understand why they avoid to fix it. |
| Comment by Harun Luo [ 24/May/20 ] |
|
Comfirmed in 1.15.2,20w20a,20w20b,20w21a. |
| Comment by Dylan Way [ 11/May/20 ] |
|
How is it possible that such a simple bug has lasted so long? |
| Comment by Nicholas Ng [ 19/Apr/20 ] |
|
Confirmed in 20w16a. Grass can even spawn on path blocks |
| Comment by Christopher Lewis [ 08/Mar/20 ] |
|
Still happening in 20w10a |
| Comment by Joseph Poelstra [ 14/Jan/20 ] |
|
This still happens in 1.15.1 |
| Comment by BrodPlayzYT [ 25/Dec/19 ] |
|
Seed -4983198545228022230 |
| Comment by MartyMacGyver [ 21/Dec/19 ] |
|
While quirks can be interesting, this one is just ugly... not to mention dangerous in the case of floating snow over lava - a jarring reminder this bug is more than annoying. It'd be really nice to see this fixed when it comes to grass, snow, etc. |
| Comment by Heffara [ 25/Nov/19 ] |
|
Oh and seed -294883631847010 XYZ: 642 / 67 / 744 |
| Comment by Ether Mind [ 24/Nov/19 ] |
|
As you can see: This is very important in fact, because such "floating" layer of snow can be above the lava lake, unfortunately I felt that sorrowful moment on myself, falling through transparent snow into the lava and died, lost all good stuff. |
| Comment by TheBoy358 [ 08/Nov/19 ] |
|
Confirmed in 19w45b. |
| Comment by [Mod] SPGoding [ 17/Oct/19 ] |
|
Emily, that seems to be another issue which is tracked in MC-140727. |
| Comment by Emily [ 16/Oct/19 ] |
|
1.14.4 the grass also spawns inside houses in villages |
| Comment by AlSh_7i [ 25/Aug/19 ] |
|
Still exists in 19w34a |
| Comment by Nixinova [ 11/Jul/19 ] |
|
Question: I am not watching this bug report but keep getting email notifications for this bug. How can I turn this off? |
| Comment by Rebecca Nonn [ 11/Jul/19 ] |
|
Still in 1.14.3. It's not just a cosmetic issue. I fell through a patch of floating snow into a lava lake while carrying two large, filled out maps. I was not happy. |
| Comment by skillzgaming [ 10/Jul/19 ] |
|
Still in 1.14.3 |
| Comment by Mr_Quasi [ 07/Jun/19 ] |
|
Still active in pre-release 2 of 1.14.3 |
| Comment by [Helper] ZeNico13 [ 17/May/19 ] |
|
Still in 1.14.2 Pre-Release 2 |
| Comment by Tyler Coffman [ 16/May/19 ] |
|
Can reproduce in 1.14.2 Pre-Release 1 |
| Comment by Thomas McNab [ 13/May/19 ] |
|
can reproduce in 1.14 and 1.14.1 |
| Comment by [Helper] ZeNico13 [ 13/May/19 ] |
|
Still in 1.14.1 Release |
| Comment by Davefin [ 23/Apr/19 ] |
|
Confirmed still in 1.14 release. |
| Comment by [Helper] ZeNico13 [ 19/Apr/19 ] |
|
Still in 1.14 pre-3, 1.14 pre-4 and 1.14 pre-5 |
| Comment by [Helper] ZeNico13 [ 12/Apr/19 ] |
|
Still in 1.14 Pre-Release 2 |
| Comment by [Helper] ZeNico13 [ 10/Apr/19 ] |
|
Still in 19w14b and 1.14 Pre-Release 1 |
| Comment by [Helper] ZeNico13 [ 03/Apr/19 ] |
|
Still in 19w13b and 19w14a |
| Comment by Dmitry [ 16/Mar/19 ] |
|
Minecraft 19w11b
|
| Comment by Grace Grimwood [ 06/Mar/19 ] |
|
Also confirmed for build 19w09a. Map seed -882114519412305203 |
| Comment by dani falk jensen [ 19/Feb/19 ] |
|
Confirmed for 19w07a flower right next to spawn seed is: 6331652741370124972 |
| Comment by Barracuda [ 26/Jan/19 ] |
|
Confirmed for 19w04b |
| Comment by Oval [ 21/Oct/18 ] |
|
Confirmed for 1.13.2-pre2. |
| Comment by Kraif [ 25/Aug/18 ] |
|
Confirmed for 1.13.1. |
| Comment by [Mod] violine1101 [ 08/Aug/18 ] |
|
This seems to happen quite frequently with water ponds in savanna biomes. |
| Comment by Kyle Cuthbert [ 25/Jul/18 ] |
|
I don't know if this is a known part of the bug, or another bug, but I've found multiple cases of grass growing directly on top of other grass. (The screenshot I've just uploaded has an example of this, along with other floating grass, and also includes both the seed and coords) |
| Comment by D M [ 18/Jul/18 ] |
|
found tree generated on patch of sand in pre 10 |
| Comment by Christian Rau [ 04/Jul/18 ] |
|
Still happens in 1.13-pre6, much more regularly even. It's been years now and we just got a major overhaul of the entire world generator in 1.13. Now would be a great time to finally fix this. |
| Comment by SunCat [ 07/Mar/17 ] |
|
This ticket was reopened and assigned to Grum, which means that the developers (at least one of them) think that this bug needs to be fixed. This ticket won't be closed unless the issue gets fixed or the devs say to do so. |
| Comment by Gody van den Bogaard [ 07/Mar/17 ] |
|
Let's just agree to disagree with Mojang Can someone please close this bugreport? |
| Comment by Dylan [ 14/Nov/16 ] |
|
Confirmed in major release 1.11 |
| Comment by user-f2760 (Inactive) [ 03/Nov/16 ] |
|
No need to update postponed tickets, as a fix won't be attempted any time soon. |
| Comment by Dylan [ 03/Nov/16 ] |
|
Confirmed in 16w44a |
| Comment by Dylan [ 27/Oct/16 ] |
|
Confirmed in 16w43a |
| Comment by Dylan [ 19/Oct/16 ] |
|
Confirmed in 16w42a |
| Comment by Dylan [ 13/Oct/16 ] |
|
Confirmed in 16w41a |
| Comment by Dylan [ 06/Oct/16 ] |
|
Confirmed in 16w40a |
| Comment by Dylan [ 30/Sep/16 ] |
|
Confirmed in 16w39c |
| Comment by Dylan [ 29/Sep/16 ] |
|
Confirmed in 16w39b |
| Comment by Eric Lawson [ 03/Aug/15 ] |
|
I just found this glitch in the new snapshot 15w31c in a village |
| Comment by Alawnely [ 14/May/15 ] |
|
This glitch is a rare glitch in Minecraft 1.8+ |
| Comment by Chris [ 07/Feb/15 ] |
|
In Superflat worlds, this incorrect placement seems to depend on the order in which structure types are specified. For seed -7993066103807340761 the following preset generates grass on the gravel roads (otherwise impossible) in the village around -468, 64, 194 given the following preset: 3;1*minecraft:bedrock,59*minecraft:stone,2*minecraft:dirt,1*minecraft:grass;1;decoration,village,mineshaft(chance=0.01),stronghold(chance=32 count=3 spread=3),biome_1(distance=32),dungeon,lake,lava_lake The impossible grass persists until the gravel is dug up or a redstone block (even a lamp with no inputs) is placed nearby. The following preset generates the same village, but with the grass already uprooted (and, accordingly, with extra dropped seeds sitting on the roads): 3;1*minecraft:bedrock,59*minecraft:stone,2*minecraft:dirt,1*minecraft:grass;1;village,mineshaft(chance=0.01),stronghold(chance=32 count=3 spread=3),biome_1(distance=32),dungeon,decoration,lake,lava_lake |
| Comment by Markku [ 28/Aug/14 ] |
|
Conor McS: At least the last time that I looked at that code, it didn't create the caves chunk-by-chunk. It always created any and all whole caves that possibly could touch the chunk being created. (Partially the reason for its "heaviness"). Edit: the whole caves are not created/generated, per se, when just doing one chunk, but the algorithm may end up going through their full span in order to find out whether it touches the chunk or not. Also, a comment in an unrelated JIRA issue (this issue is about badly generated surface features) might not be the best place to ask for even non-MC-originated version of such generator.. You should probably take a look at a suitable section in some forums instead, your request would be seen probably by about 1000 times more people... |
| Comment by kasamikona [ 28/Aug/14 ] |
|
Any chance someone can link me to an unobfuscated chunk-by-chunk cave generator? I want to use it for something, all I have at the moment is something which generates caves as whole objects. |
| Comment by Markku [ 31/Jul/14 ] |
|
(at) Conor Anyway, caves are indeed generated chunk by chunk. I was describing what could happen if the idea you have was extended to handle larger things (like caves, if they were actually generated as one large thing at once). Any really good idea should be extendable like that, I merely pointed out how it doesn't (or well, does, but with bad resource needs). (I also did mention that as a compromise, your idea at the scale you mentioned does work just fine, and since Minecraft is already full of compromises, lots of bad ones too, your one should fit in just fine.) Snow both under and top of trees is likely the side-effect of the half-chunk shift, but I have no idea how, as so far, looking at maps, it seems that ground snow is also placed later (it has the same half-chunk shift and delay). PS: The large structures at anytime - It sure is true, I just checked some old map of mine, which had a suspicious looking village at the edge of generated area. I loaded the world, traveled to that village, and looked the map again. Now it had the full village. It actually had been partially generated so that even some of the houses were cut. (This same partial generation of villages has, at times, caused funny stacked half-houses -effects, leaking farms, etc., due to other bugs messing things up.) Hmm.. there is a chance that I had already traveled far enough to reach that "center" point and thus the necessary data to generate its structures existed already. I couldn't find a map with only a smaller corner of village waiting, and no time to specifically test with new world now. In any case, the game can generate villages chunk by chunk, though it could start with a larger part. PPS: the border with no decoration/snow/etc. is actually half a chunk wide. I have looked at that part of the code quite a few times as part of trying to resolve multiple bugs, but I still can't get my head quite around that thing. |
| Comment by kasamikona [ 31/Jul/14 ] |
|
When will people realise that '@' tags don't do anything on here? Anyway, I have seen no issues so far with caves and similar things, as they appear to be generated chunk-by-chunk, in the same sort of way that rivers are, so as long as the player has a view distance of more than 1 chunk (smallest in vanilla is 2 chunks), there's no risk of falling into one due to it suddenly appearing. Also even on my slow laptop, with view distance set to 16 and server-side view/generate distance set to 2 chunks, I never see any trees just popping into existence on already-generated terrain. Also I somehow managed to make snow appear under AND on top of trees in snow biomes. Pretty much all the issues you mentioned don't seem to actually happen using my exact code. PS: what you said about large structures being able to generate from any section at any time, This cannot be true, as a structure is saved as a single data file in the world, with a single x,z coordinate location, and will only generate the structure itself when that data file exists, which is generated along with the chunk that its x & z center coords lie in. I actually have seen large structures just pop into existence in vanilla. PPS: if viewing a world in MCEdit, you can sometimes see 1-chunk-thick border with no decorations, so some part of this half-chunk-offset thing does actually leave some kind of border, I guess it isn't perfect though. |
| Comment by Markku [ 30/Jul/14 ] |
|
@Conor McS The existing check is more of half-a-chunk thing. Sort of; the decoration process happens with half-chunk shift compared to chunk generation. That causes its own issues. The large structures (like mines, caves and villages) work out semi-properly because they can be generated for any sub-section at any time, even if the rest of it are still in area that is not generated. (Though the way they are generated is in most cases rather inefficient, but that is another story). "Semi-properly" - e.g. the issue where farms in villages had weird leaking water was caused (partially) because of the combination of decorating with half-a-chunk shift and only smaller area at a time. The method you described was in my mind back then, too, but it doesn't scale properly. As you already mentioned, larger structures would need larger "buffer", e.g. large caves/mines could very well not generated until the player has traveled almost half way through their area... pop a cave entrance appears under your feet and you fall to your death. To avoid such side-effects, the chunk generation area would need to be extended accordingly, and that is not cheap. Also, another issue is that the decoration should be done in multiple iterations, depending on the natural order things would have happened. In a way it already does so (iirc, the decorations are added in two different groups, and in specific order), but it doesn't cover all random combinations correctly. Theoretically the extension of both generation distance and the checking buffer distance is the only "correct" way to do it. It is just one of the cases where theoretically correct is too hefty for CPU/memory. |
| Comment by kasamikona [ 30/Jul/14 ] |
|
Actually would be incredibly simple to solve this, have done so in a Bukkit world generator before, which uses the same basic chunk generation system. The solution is simply to do the following: PS: as for why I actually need to leave a 1 chunk no-decorate/populate border around things, it causes other issues if I don't PPS: it seems there is something like this in Minecraft already, explaining why trees never get cut off on chunk borders, and how larger-than-a-chunk structures generate properly, but it doesn't seem to be fully implemented in the way I have suggested, as there are some issues, as we have seen here. |
| Comment by a [ 13/Mar/14 ] |
|
Alright thanks. I guess I'm not fully read up on when block updates are executed (and as I understand it, and as you've said, there is a random element in there somewhere). |
| Comment by Markku [ 13/Mar/14 ] |
|
It (and other variants of the same kind) is quite common stuff, and as mentioned few comments above, Mojang has decided to "won't fix". EDIT: read the comment too quickly... The automatic uprooting isn't part of the issue or "won't fix", of course, but afaik it has been around for quite a while, too; it just depends on random chance when a block update happens or if the player does something that causes a block update for the flower. The same applies to many other bugged world generation issues like floating sand/gravel, non-flowing water blocks, etc. |
| Comment by a [ 13/Mar/14 ] |
|
I encountered a case in 14w11b where the flowers that were generated on gravel uprooted themselves before I even saw them. Was this just a chance occurrence, or was something fixed between now and February 2013? |
| Comment by NekoJonez [ 04/Feb/14 ] |
|
Too bad that this gets a "won't fix." (If possible , I attached a screeny of me finding a double fern on sand) |
| Comment by Tim Bits [ 07/Jan/14 ] |
|
Still present in 1.6.4 and 1.7.x Will this be resolved in a future version? |
| Comment by [Mojang] Nathan Adams [ 28/Feb/13 ] |
|
We actually like the quirks like this. |
| Comment by Markku [ 01/Feb/13 ] |
|
Kevin, as I wrote (perhaps a bit unclearly), that would indeed be the best solution, but also possibly very difficult to implement. The way the world is generated is quite "messy", and getting the process absolutely right is near nightmare, if not even impossible. (EDIT: A further thought into the issue, and realized the following alone won't fix it..) Xavier Brown: yes, if the relevant terrain features remove stuff under sand, that sand is not given an update. However, I've seen on one map that at least near the spawn point, the local floating sand always fell down after predictable delays (in two sequences); I was regenerating the world several times for another bugfix testing, so I saw the sand falling as many times. However, I've also seen some locations were the sand never falls by itself. (Also, the floating grass can slowly go away as they get the random world updates, etc.) |
| Comment by FireHunterX [ 01/Feb/13 ] |
|
Same issue with sand generating while floating. It does not receive an update, therefore it does not correct its problem. |
| Comment by Kevin Gut [ 01/Feb/13 ] |
|
Wouldn't it be the best solution to generate lakes, villages and whatnot first and then generate decorations. |
| Comment by Markku [ 25/Jan/13 ] |
|
Sure, they could, but that would be only a workaround (i.e. removing the symptom), bound to cause new problems sometime in future. It is always better to try to fix the cause (in this case the incorrect order of generation of various features). Also, that workaround would only fix the flowers and grass (single block stuff, always immediately above the blocks cleared by the lake). What about melons, pumpkins, mushrooms. Then sugar cane and cactus (can be taller than one block, but still "easy" being in single column). But what about trees? Their removal is very difficult after they have been created. Or parts of temples. (And I'm even leaving out something just to let people start thinking what it might be, and realize what kind road of traps that path will be.) Or whichever future terrain feature not known yet. And there are some problems even underground (rare though). The idea is, one does not want to code "exceptions" (not talking about the concept for error handling in various programming languages) and/or spread knowledge about features into other features; that is, lake generation should not need to know anything about any other features (or other features about lake generation). It makes the maintainability of the code base difficult, slow and expensive. Minecraft is already quite a big mess in that way. It would be better to try to make things right instead of adding yet another knot into that mess. Edit: If they fix the cause (so that the lakes would always get generated before those other features), all the details/exceptions/knowledge about other features becomes unneeded. It would be sort of easy solution. Unfortunately, ensuring that order in all cases won't be that easy due to the way the terrain generation has been designed. Basically, the choice is between possibly difficult but right and better for future vs. semi-easy-to-difficult but wrong and pain in the future. (The variable difficulty for the latter comes from whether they decide to ignore the difficult trees and such or not). |
| Comment by Eric Schwarzenbach [ 25/Jan/13 ] |
|
Couldn't the lake generation and lake edgeing code simply check for grass and flowers on/over the blocks it is changing and remove them? |
| Comment by Markku [ 24/Jan/13 ] |
|
Okay, reason partially solved. When "decorating" one chunk, the decoration process can randomly decorate a block that is actually in neighbor chunk (this is assumption so far, but considering how the decorations on the edges of generated world are always half a chunk "off"...). The world-object will happily generate the neighbor chunk if it does not exist yet (so that the decorative can be placed), and this generation does not yet include decoration; otherwise it could get into recursive infinite loop. Thus, consider these events: I added specific debugging messages to see when and where the game was generating grass and lakes, in a specific area I knew would have a lake with floating stuff. Results looked like this: Generating grass in -218, -39, 64 Notice how grass gets created at height 64 over the future lake's area first, then the lake is created, and some grass being planted later can also get to the one block lower height (lake edges). Have fun figuring out how to fix that! Took 2 hours to figure out the reason, it is 5 in the morning, I'm off to bed. |
| Comment by Markku [ 24/Jan/13 ] |
|
superflat first creates the "base" material, after which comes lakes.. there could very well be more code after that which looks for things like "water next to dirt/grass -> convert to beach". I haven't checked for that (yet) as it seemed quite minor thing (and the generation code is also a bit of a maze). Edit: Well, now I looked, and indeed there is such post-processing which exactly looks for dirt/grass near water and converts blocks to sand. |
| Comment by Markku [ 24/Jan/13 ] |
|
Add the label "lake" to this issue.. Didn't find this one. (Edited plenty, was too incorrect...) Seems order of generation is ..., villages and other structures, lakes, "decorations" (trees, flower, etc.). This explains why lakes can carve themselves under temples and such, but not why there are trees and grass floating above them.. Anon Ymus, the sand comes likely from the lake generation. |
| Comment by Tim Bits [ 24/Jan/13 ] |
|
Snapshot 13w03a - Generated a superflat "overworld" preset map. Some grass spawned on sand, and some of these turned into seeds immediately after world generation. Confirmed in this screenshot: also happens with flowers. |
| Comment by Kevin Gut [ 12/Jan/13 ] |
|
This issue seems to happen with Flowers as well (se image) the broken Flower was already there. |
| Comment by Kevin Gut [ 11/Jan/13 ] |
|
Uploaded an Image showing grass growing on gravel including position and seed. |
| Comment by Anon Ymus [ 07/Jan/13 ] |
|
Thanks very much. |
| Comment by MisterSanderson [ 06/Jan/13 ] |
|
Done. |
| Comment by Anon Ymus [ 05/Jan/13 ] |
|
Can you also delete those pictures? |
| Comment by MisterSanderson [ 05/Jan/13 ] |
|
Oops, sorry. |
| Comment by Gody van den Bogaard [ 05/Jan/13 ] |
|
MisterSanderson, the screenshots you added have nothing to do with the reported bug. The bug I'm reporting here is about grass being placed on top of sand/gravel. Your screenshots show a bug about grass being placed off-center. As far as I've understood they're doing this on purpose to prevent grassy fields from looking the same all over the place. I agree this off-center grass could look better on edge-blocks, but please create a seperate bug for this. |
| Comment by Tails [ 20/Nov/12 ] |
|
Also happens with gravel, see |
| Comment by Ville Selkämaa [ 02/Nov/12 ] |
|
Confirmed |
| Comment by Chalmes (Jon) [ 25/Oct/12 ] |
|
Confirmed. |