<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:13:41 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[MC-7192] The generation of &quot;terrain&quot; surface layer in Nether produces local straight artifacts/glitches (partial fix included)</title>
                <link>https://bugs.mojang.com/browse/MC-7192</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;This bug is very closely related to &lt;a href=&quot;https://bugs.mojang.com/browse/MC-6820&quot; title=&quot;The generation of terrain surface layer produces local straight glitches (fix included)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-6820&quot;&gt;&lt;del&gt;MC-6820&lt;/del&gt;&lt;/a&gt;, as the mistakes in the code are virtually the same.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What seems to be wrong&lt;/b&gt;&lt;br/&gt;
In Nether, due to the way the terrain surface features are made, the artifacts are very difficult to notice while playing, but using a map (with ability to see &quot;slices&quot;) reveals similar artifacts as the same bug for the overworld generator produces. They are easiest to notice at levels just below the top bedrock as straight &quot;cuts&quot; in the hidden &quot;basins&quot; (of layer of one block air &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/tongue.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;) just below the bedrock. See the attached screenshot of a map, the brighter brown blobs with straight east-west cuts. The cuts are exactly at chunk borders.&lt;/p&gt;

&lt;p&gt;The bugged code is in ChunkProviderHell.replaceBlocksForBiome(int, int, byte[]), in almost begin of the method. However, this time I&apos;ve replaced the MCP decompilation result with my own interpretations for some of the variable names:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;ChunkProviderHell.replaceBlocksForBiome(int, int, byte[])&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.slowsandNoise = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.slowsandGravelNoiseGen.generateNoiseOctaves(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.slowsandNoise, par1 * 16, par2 * 16, 0, 16, 16, 1, d, d, 1.0D);
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.gravelNoise = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.slowsandGravelNoiseGen.generateNoiseOctaves(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.gravelNoise, par1 * 16, 109, par2 * 16, 16, 1, 16, d, 1.0D, d);
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.netherrackExclusivityNoise = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.netherrackExculsivityNoiseGen.generateNoiseOctaves(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.netherrackExclusivityNoise, par1 * 16, par2 * 16, 0, 16, 16, 1, d * 2.0D, d * 2.0D, d * 2.0D);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Note the difference in the order of Y and Z parameters between method calls.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What I expect&lt;/b&gt;&lt;br/&gt;
The blobs (and few other less easily seen features) should have curving/natural shapes and no artifical straight east-west cuts. Sorry, no good screenshot about it, but just imagine that bug-example screenshot having the blobs&apos; south side cuts replaced with something similar to their north sides.&lt;/p&gt;

&lt;p&gt;The fixed code would be:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;ChunkProviderHell.replaceBlocksForBiome(int, int, byte[])&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.slowsandNoise = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.slowsandGravelNoiseGen.generateNoiseOctaves(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.slowsandNoise, par1 * 16, 0, par2 * 16, 16, 1, 16, d, 1.0D, d);
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.gravelNoise = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.slowsandGravelNoiseGen.generateNoiseOctaves(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.gravelNoise, par1 * 16, 109, par2 * 16, 16, 1, 16, d, 1.0D, d);
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.netherrackExclusivityNoise = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.netherrackExculsivityNoiseGen.generateNoiseOctaves(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.netherrackExclusivityNoise, par1 * 16, 0, par2 * 16, 16, 1, 16, d * 2.0D, d * 2.0D, d * 2.0D);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;HOWEVER&lt;/em&gt; 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&apos;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.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Example seed and coords:&lt;/b&gt;&lt;br/&gt;
8833675719584443437&lt;br/&gt;
270 126 -80&lt;/p&gt;</description>
                <environment>Windows 7 64-bit, java 7 64-bit</environment>
        <key id="19971">MC-7192</key>
            <summary>The generation of &quot;terrain&quot; surface layer in Nether produces local straight artifacts/glitches (partial fix included)</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="bugi74">Markku</reporter>
                        <labels>
                            <label>nether</label>
                            <label>surface</label>
                            <label>terrain</label>
                            <label>world-generation</label>
                    </labels>
                <created>Sat, 12 Jan 2013 00:46:27 +0100</created>
                <updated>Fri, 14 Aug 2020 02:53:55 +0200</updated>
                            <resolved>Tue, 5 Jun 2018 07:55:20 +0200</resolved>
                                    <version>Minecraft 1.4.6</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Snapshot 13w09c</version>
                    <version>Minecraft 1.5</version>
                    <version>Minecraft 1.7.5</version>
                    <version>Minecraft 15w47c</version>
                    <version>Minecraft 1.10.2</version>
                    <version>Minecraft 16w42a</version>
                    <version>Minecraft 1.11</version>
                    <version>Minecraft 17w16b</version>
                    <version>Minecraft 18w06a</version>
                    <version>Minecraft 18w07a</version>
                    <version>Minecraft 18w08a</version>
                                    <fixVersion>Minecraft 18w16a</fixVersion>
                                                        <votes>7</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="458326" author="pokechu22" created="Tue, 5 Jun 2018 07:57:13 +0200"  >&lt;p&gt;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?)&lt;/p&gt;</comment>
                            <comment id="331227" author="galaxy_2alex" created="Tue, 27 Sep 2016 00:23:28 +0200"  >&lt;p&gt;Is this still a concern in the &lt;em&gt;current Minecraft version&lt;/em&gt;? If so, please &lt;em&gt;update the affected versions&lt;/em&gt; 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.&lt;/p&gt;

&lt;p&gt;Keep in mind that the &quot;Resolved&quot;-Status on this ticket just means &quot;Answered&quot;, 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.&lt;/p&gt;
</comment>
                            <comment id="267097" author="bugi74" created="Sat, 21 Nov 2015 19:09:36 +0100"  >&lt;p&gt;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.)&lt;/p&gt;</comment>
                            <comment id="144233" author="bugi74" created="Sun, 2 Mar 2014 21:15:32 +0100"  >&lt;p&gt;Something similar seems to still be there in version 1.7.5, although I couldn&apos;t find equal example; not as sharp edge, but it still has east-west &quot;lines&quot; and all the typical symptoms. See screenshot example-1.7.5.png. Seed 8833675719584443437, nether location around 270,-80.&lt;/p&gt;

&lt;p&gt;Of course, the issue is still practically invisible in-game; I used Unmined to spot those.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="19592">MC-6820</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="18339" name="ceiling basins artifacts.png" size="7647" author="bugi74" created="Sat, 12 Jan 2013 00:46:27 +0100"/>
                            <attachment id="58556" name="example-1.7.5.png" size="26005" author="bugi74" created="Sun, 2 Mar 2014 21:15:48 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 22 Feb 2013 19:50:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0m3mf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>