<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:04:53 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-4533] Water graphical glitch when connecting diagonally</title>
                <link>https://bugs.mojang.com/browse/MC-4533</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;When water is placed diagonally from other water blocks like it does in the screenshots below, it causes a graphical glitch.&lt;/p&gt;

&lt;p&gt;You must connect the second source at the farthest point of the first. Let the first stretch all the way out.&lt;br/&gt;
It doesn&apos;t matter what block is near the water.   &lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;Codeanalysis&quot;&gt;&lt;/a&gt;Code analysis&lt;/h3&gt;
&lt;p&gt;Code analysis by &lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=bugi74&quot; class=&quot;user-hover&quot; rel=&quot;bugi74&quot;&gt;bugi74&lt;/a&gt; can be found in &lt;a href=&quot;https://bugs.mojang.com/browse/MC-4533?focusedCommentId=43257&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-43257&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;this comment&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="17059">MC-4533</key>
            <summary>Water graphical glitch when connecting diagonally</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="Awesoman3000">Connor Steppie</reporter>
                        <labels>
                            <label>fluid-geometry</label>
                    </labels>
                <created>Thu, 13 Dec 2012 13:59:55 +0100</created>
                <updated>Wed, 2 Nov 2022 18:52:37 +0100</updated>
                            <resolved>Wed, 26 Jan 2022 09:39:52 +0100</resolved>
                                    <version>Minecraft 1.4.5</version>
                    <version>Snapshot 12w49a</version>
                    <version>Snapshot 12w50a</version>
                    <version>Minecraft 1.4.6</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Snapshot 13w01b</version>
                    <version>Snapshot 13w09b</version>
                    <version>Minecraft 1.5</version>
                    <version>Snapshot 13w11a</version>
                    <version>Minecraft 1.5.2</version>
                    <version>Minecraft 1.6.1</version>
                    <version>Minecraft 1.6.2</version>
                    <version>Minecraft 1.6.4</version>
                    <version>Minecraft 1.7.4</version>
                    <version>Minecraft 14w02c</version>
                    <version>Minecraft 14w03b</version>
                    <version>Minecraft 14w04a</version>
                    <version>Minecraft 14w04b</version>
                    <version>Minecraft 14w05a</version>
                    <version>Minecraft 14w05b</version>
                    <version>Minecraft 14w11b</version>
                    <version>Minecraft 14w18b</version>
                    <version>Minecraft 14w19a</version>
                    <version>Minecraft 15w39c</version>
                    <version>1.16.5</version>
                    <version>21w10a</version>
                    <version>21w11a</version>
                    <version>21w13a</version>
                    <version>21w19a</version>
                    <version>21w20a</version>
                    <version>1.17 Pre-release 1</version>
                    <version>1.17</version>
                    <version>1.17.1</version>
                    <version>21w37a</version>
                    <version>21w42a</version>
                    <version>21w44a</version>
                    <version>1.18 Pre-release 1</version>
                    <version>1.18 Pre-release 5</version>
                    <version>1.18.1</version>
                                    <fixVersion>22w05a</fixVersion>
                                                        <votes>28</votes>
                                    <watches>20</watches>
                                                                            <comments>
                            <comment id="1124268" author="mishmoshkeel21" created="Fri, 10 Dec 2021 17:20:22 +0100"  >&lt;p&gt;Affects 1.18.1&lt;/p&gt;</comment>
                            <comment id="1122767" author="snowynguyen2" created="Tue, 7 Dec 2021 17:27:37 +0100"  >&lt;p&gt;I got a similar issue to this bug &lt;a href=&quot;https://bugs.mojang.com/browse/MC-236748&quot; title=&quot;Half-Waterlogged Big Dripleafs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-236748&quot;&gt;&lt;del&gt;MC-236748&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;with a quarter-waterlogged big dripleaf.&#160;&lt;/p&gt;

&lt;p&gt;Version: 1.18.1-pre1&lt;/p&gt;

&lt;p&gt;The glitch persists after server restart and client restart.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://cdn.discordapp.com/attachments/897331374694998056/917811257212551194/unknown.png&quot; width=&quot;200&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="1105295" author="JIRAUSER648933" created="Tue, 9 Nov 2021 17:53:28 +0100"  >&lt;p&gt;Can confirm in 21w44a.&lt;/p&gt;</comment>
                            <comment id="1097392" author="JIRAUSER695664" created="Tue, 26 Oct 2021 22:16:54 +0200"  >&lt;p&gt;can confirm in 1.17.1 and added another example:&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;450925_thumb&quot; href=&quot;https://bugs.mojang.com/secure/attachment/450925/450925_Bug+-+flowing+water+height+ridiculously+influenced+to+45%C2%B0.png&quot; title=&quot;Bug - flowing water height ridiculously influenced to 45&#176;.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;450925&quot; file-preview-title=&quot;Bug - flowing water height ridiculously influenced to 45&#176;.png&quot;&gt;&lt;img src=&quot;https://bugs.mojang.com/secure/thumbnail/450925/_thumb_450925.png&quot; style=&quot;border: 0px solid black&quot; role=&quot;presentation&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;br/&gt;
(the orange blocks are normal solid blocks and the fences on top are all waterlogged and blocked with sings.)&lt;/p&gt;

&lt;p&gt;Oh and it doesn&apos;t look at all like never fixing these old issues didn&apos;t create any new problems later on.... (&amp;lt;- be aware of the sarcasm! And I&apos;m not sure if the amount of negations is right in there)&lt;/p&gt;

&lt;p&gt;-&amp;gt; &lt;a href=&quot;https://bugs.mojang.com/browse/MC-239475&quot; title=&quot;Spreading of water source blocks doesn&amp;#39;t work with/in &amp;quot;floating&amp;quot; stairs.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-239475&quot;&gt;MC-239475&lt;/a&gt;, &lt;a href=&quot;https://bugs.mojang.com/browse/MC-228434&quot; title=&quot;Incorrect flow behaviour for waterlogged stairs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-228434&quot;&gt;MC-228434&lt;/a&gt; and more...&lt;/p&gt;</comment>
                            <comment id="1093739" author="JIRAUSER648933" created="Wed, 20 Oct 2021 22:10:46 +0200"  >&lt;p&gt;Can confirm in 21w42a.&lt;/p&gt;</comment>
                            <comment id="1072286" author="JIRAUSER648933" created="Thu, 16 Sep 2021 15:56:49 +0200"  >&lt;p&gt;Can confirm in 21w37a.&lt;/p&gt;</comment>
                            <comment id="1047642" author="JIRAUSER648933" created="Fri, 30 Jul 2021 01:29:44 +0200"  >&lt;p&gt;Also affects lava.&lt;/p&gt;</comment>
                            <comment id="1012888" author="mishmoshkeel21" created="Sat, 12 Jun 2021 11:29:50 +0200"  >&lt;p&gt;Affects 1.17&lt;/p&gt;</comment>
                            <comment id="991543" author="JIRAUSER283384" created="Sat, 15 May 2021 21:36:35 +0200"  >&lt;p&gt;Can confirm in 21w19a.&lt;/p&gt;</comment>
                            <comment id="947704" author="numeritos" created="Thu, 18 Mar 2021 10:42:14 +0100"  >&lt;p&gt;Affects 21w11a (&lt;a href=&quot;https://bugs.mojang.com/browse/MC-219867&quot; title=&quot;Water renders weirdly in edges, causing issues&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-219867&quot;&gt;&lt;del&gt;MC-219867&lt;/del&gt;&lt;/a&gt;)&lt;/p&gt;</comment>
                            <comment id="935857" author="awesoman3000" created="Wed, 3 Mar 2021 10:21:04 +0100"  >&lt;p&gt;As the original reporter has not been active since 2015 and I own several similar tickets, can I request ownership of this?&lt;/p&gt;</comment>
                            <comment id="452007" author="howardcchina" created="Sat, 12 May 2018 09:54:32 +0200"  >&lt;p&gt;No I don&apos;t think this is a normal way water should be working.&lt;/p&gt;</comment>
                            <comment id="349522" author="marcono1234" created="Tue, 20 Dec 2016 23:24:38 +0100"  >&lt;p&gt;Is this only intended for water being diagonally or also an air block, as shown in some of the screenshots and described in &lt;a href=&quot;https://bugs.mojang.com/browse/MC-4533&quot; title=&quot;Water graphical glitch when connecting diagonally&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-4533&quot;&gt;&lt;del&gt;MC-4533&lt;/del&gt;&lt;/a&gt;?&lt;/p&gt;</comment>
                            <comment id="259542" author="bugi74" created="Thu, 29 Oct 2015 18:26:23 +0100"  >&lt;p&gt;A bit &quot;rant&quot;ish, a small bit of info for marcono in there:&lt;/p&gt;

&lt;p&gt;Well, from our ordinary users point of view, considering the amount of information given from devs (i.e. none), there was no point to close this issue/report in the first place, at least not as WAI. Possibly as &quot;Won&apos;t fix&quot;, depending on the background (which we do not know of). But as far as I know, there hasn&apos;t been any mentions (other than the dev&apos;s resolution) that such weird behavior was really the way it was meant and designed to work.  It just does not make sense (at least not to me, without proper explanation).&lt;/p&gt;

&lt;p&gt;So, welcome to the normal users world; they end up commenting in closed issues as long as things stay like this &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;&lt;/p&gt;

&lt;p&gt;Marcono1234: It took a bit of time to fix, but it wasn&apos;t really that difficult; the most of the time usually goes into just finding where the relevant functionality is in the code, since all I had was just the decompiled and partially deobfuscated code to crawl through. I don&apos;t remember exactly how long it took, but judging from my old comments, likely about two hours total.&lt;/p&gt;

&lt;p&gt;I did these source code fixes initially, but after years went and tens of bugs which I had even provided somewhat ready fixes for stayed untouched, I gave up. (And since it is now big business, there is no motivation to help with free work, either, like I would for a small indie studio. With a tiny fraction of the money that has been moved around, they could hire enough temporary devs to fix all the bugs in less than few months. At least the ones that won&apos;t require major rewrites to the whole framework &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;)&lt;/p&gt;

&lt;p&gt;But as redstonehelper says, once it is closed, it typically stays so, unless someone gets to ping the devs through other channels; at least I tend to unregister any notifications from issues already closed (in a satisfactory way) (both as a user here, and a dev myself elsewhere), otherwise it causes too much &quot;noise&quot;. Mod&apos;s can only reopen cases that are plain simply obvious; if it had already been confirmed as a bug, claimed fixed, and the symptoms are back. But for this issue, devs have claimed it is not a bug, so mods would get a slap on their fingers if they reopened it just like that.&lt;/p&gt;

&lt;p&gt;So, now only 12 watchers and mods will notice anything on this issue. And even I am probably going to stop watching some day, half my emails are coming from this JIRA (and I&apos;m not even following that many issues), and less than 1% is the good kind (basically &quot;fixed&quot;).&lt;/p&gt;</comment>
                            <comment id="259333" author="redstonehelper" created="Wed, 28 Oct 2015 22:46:31 +0100"  >&lt;p&gt;There is no point in keeping closed reports up to date.&lt;/p&gt;</comment>
                            <comment id="259332" author="marcono1234" created="Wed, 28 Oct 2015 22:45:29 +0100"  >&lt;p&gt;WAI is WAI but probably it took &lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=bugi74&quot; class=&quot;user-hover&quot; rel=&quot;bugi74&quot;&gt;bugi74&lt;/a&gt; anyways some or a lot of work to create this fix and I did not say you have to reopen the report&lt;/p&gt;</comment>
                            <comment id="259330" author="redstonehelper" created="Wed, 28 Oct 2015 22:43:47 +0100"  >&lt;p&gt;Nope, WAI is WAI.&lt;/p&gt;</comment>
                            <comment id="259304" author="marcono1234" created="Wed, 28 Oct 2015 21:47:39 +0100"  >&lt;p&gt;Please at least include the &lt;a href=&quot;https://bugs.mojang.com/browse/MC-4533?focusedCommentId=43257&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-43257&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;fix&lt;/a&gt; provided by &lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=bugi74&quot; class=&quot;user-hover&quot; rel=&quot;bugi74&quot;&gt;bugi74&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="252665" author="mtp123654" created="Wed, 30 Sep 2015 21:52:31 +0200"  >&lt;p&gt;Confirmed for 15w39c.&lt;br/&gt;
Shame this bug was closed, this seems like an easy fix.&lt;/p&gt;</comment>
                            <comment id="181897" author="bugi74" created="Tue, 29 Jul 2014 23:10:25 +0200"  >&lt;p&gt;&quot;Working as intended&quot;? Really? Those silly corners were really designed to be so? I seriously don&apos;t think so... Was my proposed fix somehow lacking or having side-effects (or did any dev actually read through the comments to notice the fix in the first place)? Or is this another case that should actually gotten resolved as &quot;Won&apos;t fix&quot; (for whatever mysterious reason)?&lt;/p&gt;</comment>
                            <comment id="157432" author="garyclosse" created="Tue, 13 May 2014 11:10:13 +0200"  >&lt;p&gt;Confirmed for 14w19a.&lt;/p&gt;</comment>
                            <comment id="137893" author="yaugzebul" created="Mon, 3 Feb 2014 18:59:26 +0100"  >&lt;p&gt;Still there in 14w05b. I find it less noticeable but I might be mistaken. I can attach new screenshot if needed.&lt;/p&gt;</comment>
                            <comment id="137855" author="ezekielelin" created="Mon, 3 Feb 2014 15:33:00 +0100"  >&lt;p&gt;Is this still a concern in the latest Minecraft version &lt;b&gt;14w05b&lt;/b&gt;? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="107943" author="bugi74" created="Mon, 30 Sep 2013 17:21:03 +0200"  >&lt;p&gt;Affects 1.6.4.&lt;/p&gt;</comment>
                            <comment id="107294" author="simons mith" created="Sat, 28 Sep 2013 17:43:22 +0200"  >&lt;p&gt;Still seeing this in 1.6.2-3ish, maybe 1.6.4, I can&apos;t remember quite when I updated to 1.6.4. And there&apos;s actually a minor exploit you can sometimes do with it; if there&apos;s a hidden cave diagonally connected to the one you&apos;re in, you might be able to find the &apos;thin corner&apos;.&lt;/p&gt;</comment>
                            <comment id="67654" author="mrmeep" created="Tue, 21 May 2013 04:49:55 +0200"  >&lt;p&gt;Yeah I noticed that when you place a block diagonal to a water source block the edge of the water seems to rise up slightly.&lt;/p&gt;</comment>
                            <comment id="48128" author="yaugzebul" created="Wed, 27 Feb 2013 22:56:21 +0100"  >&lt;p&gt;Edited with &quot;another_example&quot; names&lt;/p&gt;</comment>
                            <comment id="48098" author="bugi74" created="Wed, 27 Feb 2013 22:22:35 +0100"  >&lt;p&gt;Could you edit that comment to list the names of the screenshot files. Otherwise it is somewhat difficult to tell which screenshot is which. (EDIT: just realized, applies to my screenshot, too &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; )&lt;/p&gt;</comment>
                            <comment id="48096" author="yaugzebul" created="Wed, 27 Feb 2013 22:18:45 +0100"  >&lt;p&gt;Hi another example with multiple screenshots, happens in 13w09b too&lt;/p&gt;</comment>
                            <comment id="43260" author="bugi74" created="Sun, 3 Feb 2013 22:23:11 +0100"  >&lt;p&gt;Sample screenshot with the fixed code. &apos;fixed-water-corners.png&apos;&lt;/p&gt;</comment>
                            <comment id="43257" author="bugi74" created="Sun, 3 Feb 2013 22:22:25 +0100"  >&lt;p&gt;&lt;b&gt;Current code&lt;/b&gt;&lt;br/&gt;
I will only include the method signature for the method getFluidHeight() here as the method body gets changed quite a bit, no point in showing the original.&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;RenderBlocks&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;public&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; renderBlockFluids(Block block, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; x, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; y, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; z) {
    ...
    &lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt; var24 = (&lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt;) &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.getFluidHeight(x, y, z, var22);
    &lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt; var26 = (&lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt;) &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.getFluidHeight(x, y, z + 1, var22);
    &lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt; var28 = (&lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt;) &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.getFluidHeight(x + 1, y, z + 1, var22);
    &lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt; var30 = (&lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt;) &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.getFluidHeight(x + 1, y, z, var22);
    ...
}

&lt;span class=&quot;code-keyword&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt; getFluidHeight(&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; x, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; y, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; z, Material fluidType)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;b&gt;Better code&lt;/b&gt;&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;RenderBlocks&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;public&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; renderBlockFluids(Block block, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; x, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; y, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; z) {
    ...
    &lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt; var24 = (&lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt;) &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.getFluidHeight(x, z, x, y, z, var22);
    &lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt; var26 = (&lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt;) &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.getFluidHeight(x, z, x, y, z + 1, var22);
    &lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt; var28 = (&lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt;) &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.getFluidHeight(x, z, x + 1, y, z + 1, var22);
    &lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt; var30 = (&lt;span class=&quot;code-object&quot;&gt;double&lt;/span&gt;) &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.getFluidHeight(x, z, x + 1, y, z, var22);
    ...
}

&lt;span class=&quot;code-keyword&quot;&gt;private&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt; getFluidHeight(&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; blockx, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; bloxkz, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; x, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; y, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; z, Material fluidType) {
    &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; var5 = 0;
    &lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt; var6 = 0.0F;
        
    &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; direction = 0; direction &amp;lt; 4; ++direction) {
        &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; checkX = x - (direction &amp;amp; 1);
        &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; checkZ = z - (direction &amp;gt;&amp;gt; 1 &amp;amp; 1);

        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMaterial(checkX, y + 1, checkZ) == fluidType) {
            &lt;span class=&quot;code-comment&quot;&gt;// These are checks that there is actually a suitable path &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; the fluid from that block to &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; block so that its level can affect.
&lt;/span&gt;            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (checkX == blockx &amp;amp;&amp;amp; checkZ == blockz) &lt;span class=&quot;code-comment&quot;&gt;// Directly above
&lt;/span&gt;                &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 1.0F;
            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (checkX != blockx &amp;amp;&amp;amp; checkZ != blockz) { &lt;span class=&quot;code-comment&quot;&gt;// Diagonal in every way
&lt;/span&gt;                &lt;span class=&quot;code-comment&quot;&gt;// Does not affect directly at all.
&lt;/span&gt;            } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; { &lt;span class=&quot;code-comment&quot;&gt;// Diagonal in one main direction
&lt;/span&gt;                &lt;span class=&quot;code-comment&quot;&gt;// If there is same fluid above &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; block, then 1.0
&lt;/span&gt;                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMaterial(blockx, y + 1, blockz) == fluidType)
                    &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 1.0F;
                &lt;span class=&quot;code-comment&quot;&gt;// If there is same fluid under that block, then 1.0
&lt;/span&gt;                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMaterial(checkX, y, checkZ) == fluidType)
                    &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 1.0F;
            }
        }

        Material checkedMaterial = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMaterial(checkX, y, checkZ);

        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (checkedMaterial == fluidType) {
            &lt;span class=&quot;code-comment&quot;&gt;// The diagonal neighbor block must have a path of same fluid to &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; block, or skip its effect:
&lt;/span&gt;            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (checkX != blockx &amp;amp;&amp;amp; checkZ != blockz
                    &amp;amp;&amp;amp; (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMaterial(checkX, y, blockz) != fluidType
                    &amp;amp;&amp;amp; &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMaterial(blockx, y, checkZ) != fluidType)) {
                &lt;span class=&quot;code-keyword&quot;&gt;continue&lt;/span&gt;;
            } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
                &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; checkedMeta = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMetadata(checkX, y, checkZ);

                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (checkedMeta &amp;gt;= 8 || checkedMeta == 0) {
                    var6 += BlockFluid.getFluidHeightPercent(checkedMeta) * 10.0F;
                    var5 += 10;
                }

                var6 += BlockFluid.getFluidHeightPercent(checkedMeta);
                ++var5;
            }
        } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!checkedMaterial.isSolid()) {
            &lt;span class=&quot;code-comment&quot;&gt;// Non-solid makes the level lower
&lt;/span&gt;            &lt;span class=&quot;code-comment&quot;&gt;// If it is in diagonal neighbor, then there must be non-solid path, or skip its effect:
&lt;/span&gt;            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (checkX != blockx &amp;amp;&amp;amp; checkZ != blockz
                    &amp;amp;&amp;amp; (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMaterial(checkX, y, blockz).isSolid()
                    &amp;amp;&amp;amp; &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.blockAccess.getBlockMaterial(blockx, y, checkZ).isSolid()))
                &lt;span class=&quot;code-keyword&quot;&gt;continue&lt;/span&gt;;
            ++var6;
            ++var5;
        }
    }

    &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 1.0F - var6 / (&lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt;) var5;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I will attach a screenshot showing the results (for the changed rendering; there are other cases of rendering, which I managed to mess up temporarily while working on the fix, but since they haven&apos;t changed with the version above, I won&apos;t include screenshots of those.)&lt;/p&gt;</comment>
                            <comment id="43229" author="bugi74" created="Sun, 3 Feb 2013 20:58:33 +0100"  >&lt;p&gt;The code calculates the corner water levels based on the existence and levels of water in 8 blocks around each corner/edge. However, it is quite naive and does not make any checks whether the neighbor blocks provide a path for the water to actually affect the block being rendered.&lt;/p&gt;

&lt;p&gt;There are a number of cases (block patterns) to check, but it seems doable. This has been &quot;bugging&quot; me, too, so... Working on a fix, lets see what I can come up with.&lt;/p&gt;</comment>
                            <comment id="43218" author="banana478" created="Sun, 3 Feb 2013 20:27:23 +0100"  >&lt;p&gt;In addition, removing a block diagonally makes the water dip in that corner.&lt;/p&gt;</comment>
                            <comment id="43211" author="bugi74" created="Sun, 3 Feb 2013 20:13:11 +0100"  >&lt;p&gt;Not really intended, but one more case of &quot;it works well enough and doesn&apos;t completely break things, so leave it as is for now&quot;.&lt;/p&gt;

&lt;p&gt;It has been around a long time, and iirc, has even been (ab)used for benefits, but that does not make it less of a bug.&lt;/p&gt;</comment>
                            <comment id="43203" author="firehunterx" created="Sun, 3 Feb 2013 19:54:01 +0100"  >&lt;p&gt;I think that this may ne intended, but I am not entirely sure.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="35601">MC-17598</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="36775">MC-18415</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="122824">MC-89633</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="158198">MC-111664</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="196663">MC-127722</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="199739">MC-129124</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="209971">MC-135015</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="236739">MC-148909</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="354377">MC-194711</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="355683">MC-195113</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="365341">MC-198176</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="380431">MC-202771</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="420345">MC-218747</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="423223">MC-219867</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="427974">MC-221940</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="455629">MC-232473</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="467830">MC-236748</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="477562">MC-239803</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="493877">MC-248093</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="495379">MC-248585</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="14445">MC-2679</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="195232">MC-127030</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="195637">MC-127270</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="519791">MC-257125</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="410037">MC-213789</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="295557">MC-174862</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="98543">MC-70848</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="15236" name="2012-12-13_07.57.13.png" size="100871" author="firehunterx" created="Thu, 13 Dec 2012 13:59:55 +0100"/>
                            <attachment id="15237" name="2012-12-13_07.57.16.png" size="146370" author="firehunterx" created="Thu, 13 Dec 2012 13:59:55 +0100"/>
                            <attachment id="20929" name="2013-02-03_14.25.31.png" size="153807" author="banana478" created="Sun, 3 Feb 2013 20:27:23 +0100"/>
                            <attachment id="20930" name="2013-02-03_14.25.34.png" size="157400" author="banana478" created="Sun, 3 Feb 2013 20:27:23 +0100"/>
                            <attachment id="414036" name="2021-06-13_21.57.51.png" size="774395" author="ampolive" created="Mon, 14 Jun 2021 02:58:03 +0200"/>
                            <attachment id="414037" name="2021-06-13_21.58.24.png" size="772776" author="ampolive" created="Mon, 14 Jun 2021 02:58:32 +0200"/>
                            <attachment id="450925" name="Bug - flowing water height ridiculously influenced to 45&#176;.png" size="507034" author="Zuleguni" created="Tue, 26 Oct 2021 22:15:16 +0200"/>
                            <attachment id="22652" name="another_example_all_diagonal.png" size="175831" author="yaugzebul" created="Wed, 27 Feb 2013 22:55:53 +0100"/>
                            <attachment id="22653" name="another_example_one_diagonal_less.png" size="177464" author="yaugzebul" created="Wed, 27 Feb 2013 22:55:53 +0100"/>
                            <attachment id="22654" name="another_example_two_diagonal_less.png" size="185054" author="yaugzebul" created="Wed, 27 Feb 2013 22:55:53 +0100"/>
                            <attachment id="20942" name="fixed-water-corners.png" size="280690" author="bugi74" created="Sun, 3 Feb 2013 22:23:11 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 4 Feb 2013 01:01:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11901" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Category</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11707"><![CDATA[Rendering]]></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>20.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12200" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Mojang Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11703"><![CDATA[Low]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0m4wv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12201" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>Triaged Time</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 3 Mar 2021 09:31:58 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>