<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:04:23 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-4381] Water places behind Tall Grass</title>
                <link>https://bugs.mojang.com/browse/MC-4381</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;h3&gt;&lt;a name=&quot;Thebug&quot;&gt;&lt;/a&gt;The bug&lt;/h3&gt;
&lt;p&gt;Get a bucket of water and place it on some tall grass. The water will be placed behind the tall grass as if the grass isn&apos;t even there.&lt;/p&gt;

&lt;p&gt;Other blocks such as cobwebs are affected as well:&lt;/p&gt;
&lt;h5&gt;&lt;a name=&quot;DemonstrationVideohttps%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F0BwhrUpGiETGQUxuTnRoRHpyODQ%2Fview%3Fusp%3Dsharing&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://drive.google.com/file/d/0Bwh-rUpGiETGQUxuTnRoRHpyODQ/view?usp=sharing&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Demonstration Video&lt;/a&gt;&lt;/h5&gt;

&lt;h3&gt;&lt;a name=&quot;Thereason%2FCodeanalysis&quot;&gt;&lt;/a&gt;The reason/Code analysis&lt;/h3&gt;
&lt;p&gt;See &lt;a href=&quot;https://bugs.mojang.com/browse/MC-4381?focusedCommentId=335163&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-335163&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;this comment&lt;/a&gt; by &lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=AjaxGb&quot; class=&quot;user-hover&quot; rel=&quot;AjaxGb&quot;&gt;AjaxGb&lt;/a&gt;&lt;/p&gt;</description>
                <environment>Microsoft Windows 8 Pro 64-bit, Java SE7 U51</environment>
        <key id="16829">MC-4381</key>
            <summary>Water places behind Tall Grass</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="Roq12">Thommy Siverman</assignee>
                                    <reporter username="bugreporter">ReduxMC</reporter>
                        <labels>
                            <label>grass</label>
                            <label>water</label>
                    </labels>
                <created>Mon, 10 Dec 2012 00:47:29 +0100</created>
                <updated>Tue, 16 Jan 2024 13:34:39 +0100</updated>
                            <resolved>Tue, 31 Mar 2020 12:41:12 +0200</resolved>
                                    <version>Minecraft 1.4.4</version>
                    <version>Minecraft 1.4.5</version>
                    <version>Snapshot 12w49a</version>
                    <version>Snapshot 12w50a</version>
                    <version>Snapshot 12w50b</version>
                    <version>Minecraft 1.4.6</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Snapshot 13w01a</version>
                    <version>Snapshot 13w01b</version>
                    <version>Minecraft 1.5</version>
                    <version>Snapshot 13w11a</version>
                    <version>Minecraft 1.5.1</version>
                    <version>Minecraft 1.5.2</version>
                    <version>Snapshot 13w18b</version>
                    <version>Snapshot 13w18c</version>
                    <version>Snapshot 13w19a</version>
                    <version>Snapshot 13w25c</version>
                    <version>Minecraft 1.6</version>
                    <version>Minecraft 1.6.1</version>
                    <version>Minecraft 1.6.2</version>
                    <version>Minecraft 1.7.4</version>
                    <version>Minecraft 14w05b</version>
                    <version>Minecraft 14w06b</version>
                    <version>Minecraft 14w07a</version>
                    <version>Minecraft 14w08a</version>
                    <version>Minecraft 1.7.5</version>
                    <version>Minecraft 1.8</version>
                    <version>Minecraft 16w20a</version>
                                    <fixVersion>Minecraft 18w01a</fixVersion>
                                                        <votes>2</votes>
                                    <watches>11</watches>
                                                                            <comments>
                            <comment id="1299883" author="JIRAUSER733297" created="Tue, 16 Jan 2024 08:36:59 +0100"  >&lt;p&gt;I can confirm this has been fixed in 18w01a and attached two videos: one demonstrating a fixed version, the other demonstrating a bugged version.&lt;/p&gt;</comment>
                            <comment id="611346" author="marcono1234" created="Sat, 7 Dec 2019 16:08:25 +0100"  >&lt;p&gt;Seems to be fixed indeed, but likely in a version prior to 1.15-pre6&lt;/p&gt;</comment>
                            <comment id="611189" author="rays" created="Sat, 7 Dec 2019 00:31:19 +0100"  >&lt;p&gt;fixed&lt;/p&gt;</comment>
                            <comment id="335163" author="ajaxgb" created="Sat, 15 Oct 2016 07:44:49 +0200"  >&lt;p&gt;This really should be reopened. I&apos;ve had a look at the code, and the problem is very clear and easy to fix.&lt;/p&gt;

&lt;p&gt;The following is based on 1.10.2 decompiled with MCP, with some edited variable names for clarity. Please link to this comment in the description.&lt;/p&gt;

&lt;p&gt;When you right click with a bucket, full buckets will ignore liquids when raycasting, while empty buckets will not.&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;RayTraceResult raytraceresult = this.rayTrace(worldIn, playerIn, bucketIsEmpty);
                                                                  ^
                                                             useLiquids
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The bug happens because all blocks with no collision are treated as liquids by this function.&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;protected RayTraceResult rayTrace(World worldIn, EntityPlayer playerIn, boolean useLiquids)
{
    float f = playerIn.rotationPitch;
    ...code omitted...
    return worldIn.rayTraceBlocks(vec3d, vec3d1, useLiquids, !useLiquids, false);
                                                      ^            ^
                                              stopOnLiquid      ignoreBlockWithoutBoundingBox
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;A quick fix would be to add a second function that doesn&apos;t assume it should do this:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;protected RayTraceResult rayTrace(World worldIn, EntityPlayer playerIn, boolean useLiquids)
{
    return rayTrace(worldIn, playerIn, useLiquids, !useLiquids);
}

protected RayTraceResult rayTrace(World worldIn, EntityPlayer playerIn, boolean useLiquids, boolean ignoreBlockWithoutBoundingBox)
{
    float f = playerIn.rotationPitch;
    ...code omitted...
    return worldIn.rayTraceBlocks(vec3d, vec3d1, useLiquids, ignoreBlockWithoutBoundingBox, false);
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and then to use the new function when using buckets:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;RayTraceResult raytraceresult = this.rayTrace(worldIn, playerIn, bucketIsEmpty, false);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;That way, all other raycasts would have the same functionality as before, and water/lava could be placed on signs and things. Alternatively, swap that &lt;tt&gt;false&lt;/tt&gt; for a &lt;tt&gt;true&lt;/tt&gt;, and buckets would &lt;b&gt;consistently&lt;/b&gt; ignore those blocks.&lt;/p&gt;</comment>
                            <comment id="322272" author="yut951121" created="Wed, 27 Jul 2016 15:44:10 +0200"  >&lt;p&gt;Happens with strings too. &lt;a href=&quot;https://www.reddit.com/r/Minecraft/comments/4uum6b/til_you_can_place_water_through_string_but_not/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.reddit.com/r/Minecraft/comments/4uum6b/til_you_can_place_water_through_string_but_not/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="309320" author="redstonehelper" created="Thu, 2 Jun 2016 19:51:37 +0200"  >&lt;p&gt;Ticket is up for review.&lt;/p&gt;</comment>
                            <comment id="309235" author="rays" created="Thu, 2 Jun 2016 18:29:27 +0200"  >&lt;p&gt;Can this be reopened because this behavior doesn&apos;t work consistently across other similar blocks. &lt;/p&gt;</comment>
                            <comment id="306339" author="marcono1234" created="Sat, 21 May 2016 20:10:31 +0200"  >&lt;p&gt;Confirmed for&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;b&gt;16w20a&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="143773" author="garyclosse" created="Sat, 1 Mar 2014 11:36:23 +0100"  >&lt;p&gt;Still a concern in 1.7.5 and 1.8&lt;/p&gt;</comment>
                            <comment id="27469" author="bljat" created="Mon, 10 Dec 2012 01:01:20 +0100"  >&lt;p&gt;Confirmed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="103653">MC-75475</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="140582">MC-101794</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="141013">MC-102121</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="150025">MC-107280</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="156404">MC-110706</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="170683">MC-117398</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="37859">MC-19205</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="119181">MC-86978</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="559370" name="bugged.mp4" size="1688860" author="Neliz_" created="Tue, 16 Jan 2024 08:33:12 +0100"/>
                            <attachment id="559371" name="fixed.mp4" size="1707397" author="Neliz_" created="Tue, 16 Jan 2024 08:33:13 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 10 Dec 2012 01:00: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_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0a37b:</customfieldvalue>

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