[MC-7192] The generation of "terrain" surface layer in Nether produces local straight artifacts/glitches (partial fix included) Created: 11/Jan/13 Updated: 14/Aug/20 Resolved: 05/Jun/18 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w09c, Minecraft 1.5, Minecraft 1.7.5, Minecraft 15w47c, Minecraft 1.10.2, Minecraft 16w42a, Minecraft 1.11, Minecraft 17w16b, Minecraft 18w06a, Minecraft 18w07a, Minecraft 18w08a |
| Fix Version/s: | Minecraft 18w16a |
| Type: | Bug | ||
| Reporter: | Markku | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 7 |
| Labels: | nether, surface, terrain, world-generation | ||
| Environment: |
Windows 7 64-bit, java 7 64-bit |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| CHK: | |||||||||
| Confirmation Status: | Confirmed | ||||||||
| Description |
|
This bug is very closely related to What seems to be wrong The bugged code is in ChunkProviderHell.replaceBlocksForBiome(int, int, byte[]), in almost begin of the method. However, this time I've replaced the MCP decompilation result with my own interpretations for some of the variable names: ChunkProviderHell.replaceBlocksForBiome(int, int, byte[]) this.slowsandNoise = this.slowsandGravelNoiseGen.generateNoiseOctaves(this.slowsandNoise, par1 * 16, par2 * 16, 0, 16, 16, 1, d, d, 1.0D); this.gravelNoise = this.slowsandGravelNoiseGen.generateNoiseOctaves(this.gravelNoise, par1 * 16, 109, par2 * 16, 16, 1, 16, d, 1.0D, d); this.netherrackExclusivityNoise = this.netherrackExculsivityNoiseGen.generateNoiseOctaves(this.netherrackExclusivityNoise, par1 * 16, par2 * 16, 0, 16, 16, 1, d * 2.0D, d * 2.0D, d * 2.0D); Note the difference in the order of Y and Z parameters between method calls. What I expect The fixed code would be: ChunkProviderHell.replaceBlocksForBiome(int, int, byte[]) this.slowsandNoise = this.slowsandGravelNoiseGen.generateNoiseOctaves(this.slowsandNoise, par1 * 16, 0, par2 * 16, 16, 1, 16, d, 1.0D, d); this.gravelNoise = this.slowsandGravelNoiseGen.generateNoiseOctaves(this.gravelNoise, par1 * 16, 109, par2 * 16, 16, 1, 16, d, 1.0D, d); this.netherrackExclusivityNoise = this.netherrackExculsivityNoiseGen.generateNoiseOctaves(this.netherrackExclusivityNoise, par1 * 16, 0, par2 * 16, 16, 1, 16, d * 2.0D, d * 2.0D, d * 2.0D); HOWEVER only the 3rd line is for this particular case, even if the first line has the same bug (and fix). The problem with the first line's fix is that it unfortunately reveals that the gravel-generation was based on a side-effect of that bug, and the first line fix makes slowsand always overwrite gravel. Full fix for that needs more knowledge on how the generateNoiseOctaves can be used and/or an additional adjustment later in the same method. Example seed and coords: |
| Comments |
| Comment by [Mod] Pokechu22 [ 05/Jun/18 ] |
|
Apparently fixed in 18w16a; the relevant code no longer seems to exist (reworked into a newer system, probably as part of creating the buffet type?) |
| Comment by Galaxy_2Alex [ 26/Sep/16 ] |
|
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue. Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. It will be reopened as soon as the requested information has been delivered. |
| Comment by Markku [ 21/Nov/15 ] |
|
Still in effect as of 15w47c. The same seed and coords as in my previous comment can be used: 8833675719584443437, nether location around 270,-80. (The layer/level for the unmined screenshot is 126). (As a refresh for anyone else wanting to check it.) |
| Comment by Markku [ 02/Mar/14 ] |
|
Something similar seems to still be there in version 1.7.5, although I couldn't find equal example; not as sharp edge, but it still has east-west "lines" and all the typical symptoms. See screenshot example-1.7.5.png. Seed 8833675719584443437, nether location around 270,-80. Of course, the issue is still practically invisible in-game; I used Unmined to spot those. |