<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:25:35 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-10806] Stairs-block collision ray tracing method forgets to tell when it has finished.</title>
                <link>https://bugs.mojang.com/browse/MC-10806</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;Using MCP naming:&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;BlockStairs.collisionRayTrace()&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;.field_72156_cr = &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
    ...
    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;That flag seems to tell the method setBlockBoundsBasedOnState() that it is being used by the above method, and thus should set the bounds differently than the full block size (which it should use at other times).&lt;/p&gt;

&lt;p&gt;The ray trace method does not reset that flag once it is done. Thus, after the player first time aims at stairs block, the flag gets set, and the bounds will always return the setup for the last stage of ray tracing after that. (Except for the ray tracer itself, which will go through the stages at each call).&lt;/p&gt;

&lt;p&gt;As a symptom, see comments in &lt;a href=&quot;https://bugs.mojang.com/browse/MC-1390&quot; title=&quot;Upper slabs with water/lava on top makes midair dripping water/lava&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-1390&quot;&gt;&lt;del&gt;MC-1390&lt;/del&gt;&lt;/a&gt; (water droplets generation calculates the start height too high).&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Fix&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;BlockStairs.collisionRayTrace()&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;.field_72156_cr = &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
        &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; var14;
        &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; var15;
        &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; var16;
        &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; (&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; var12 = 0; var12 &amp;lt; 8; ++var12) {
            ...
        }
        &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.field_72156_cr = &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;; &lt;span class=&quot;code-comment&quot;&gt;// FIX
&lt;/span&gt;        ...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Bug found and fix tested on version 1.4.7 while fixing &lt;a href=&quot;https://bugs.mojang.com/browse/MC-1390&quot; title=&quot;Upper slabs with water/lava on top makes midair dripping water/lava&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-1390&quot;&gt;&lt;del&gt;MC-1390&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="24782">MC-10806</key>
            <summary>Stairs-block collision ray tracing method forgets to tell when it has finished.</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="4">Incomplete</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="bugi74">Markku</reporter>
                        <labels>
                    </labels>
                <created>Sat, 2 Mar 2013 19:51:20 +0100</created>
                <updated>Thu, 30 Oct 2014 19:00:28 +0100</updated>
                            <resolved>Sat, 11 Jan 2014 17:00:21 +0100</resolved>
                                    <version>Minecraft 1.4.7</version>
                    <version>Minecraft 1.5</version>
                    <version>Minecraft 1.6.2</version>
                                                                        <votes>2</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="130530" author="ezekielelin" created="Sat, 11 Jan 2014 17:00:21 +0100"  >&lt;p&gt;This ticket is &lt;em&gt;incomplete&lt;/em&gt; without the requested information, no response has been received within a reasonable time and we are assuming the issue has been resolved. Should your issue return please submit a new &lt;b&gt;complete&lt;/b&gt; ticket with all available information.&lt;br/&gt;
Please review the &lt;a href=&quot;http://help.mojang.com/customer/portal/articles/801354-writing-helpful-bug-reports-for-minecraft&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;guidelines&lt;/a&gt; before reporting issues.&lt;/p&gt;</comment>
                            <comment id="121479" author="talven81" created="Tue, 26 Nov 2013 22:11:51 +0100"  >&lt;p&gt;Is this still a concern in the &lt;em&gt;current Minecraft version&lt;/em&gt; &lt;b&gt;1.7.2&lt;/b&gt; / Launcher version &lt;b&gt;1.3.4&lt;/b&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.&lt;/p&gt;</comment>
                            <comment id="55293" author="bugi74" created="Tue, 19 Mar 2013 00:22:41 +0100"  >&lt;p&gt;Yes, code is unchanged in 1.5, at least for that functionality. (Reference for myself: func_71878_a())&lt;/p&gt;

&lt;p&gt;Edit: silly me, forgot I can add versions to issues I&apos;ve reported myself &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>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Unconfirmed]]></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|i03upb:</customfieldvalue>

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