<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:25:06 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-10657] Player entering nether portal while sneaking stuck in &apos;partial sneak&apos;</title>
                <link>https://bugs.mojang.com/browse/MC-10657</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;If a player passes through a nether portal while in sneak mode, that player retains some properties of sneaking after coming out on the other side.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Cannot open chests, flip levers, etc.&lt;/li&gt;
	&lt;li&gt;Visually appears crouched to other players (including nameplate being hidden by opaque blocks)&lt;/li&gt;
	&lt;li&gt;Moves at full normal speed, despite appearing crouched&lt;/li&gt;
	&lt;li&gt;Falls off of block ledges, despite appearing crouched&lt;/li&gt;
	&lt;li&gt;Able to break and place blocks normally&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Effect remains until player presses/releases sneak key.&lt;/p&gt;

&lt;p&gt;Video of the behavior:&lt;br/&gt;
&lt;a href=&quot;https://youtu.be/BUkyLzd0c1I&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://youtu.be/BUkyLzd0c1I&lt;/a&gt;&lt;/p&gt;

&lt;hr /&gt;
&lt;p&gt;&lt;sup&gt;Code analysis by &lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=quadraxis&quot; class=&quot;user-hover&quot; rel=&quot;quadraxis&quot;&gt;quadraxis&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;Minecraft.setDimensionAndSpawnPlayer&lt;/tt&gt; creates a new player entity, mostly losing the field values from the old one.&lt;br/&gt;
 This causes the client to &quot;forget&quot; that the player was previously sneaking, and so it will not send a status update packet to the server as it believes that the sneak status is unchanged, causing the issue.&lt;/p&gt;

&lt;p&gt;This issue can be fixed by changing &lt;tt&gt;setDimensionAndSpawnPlayer&lt;/tt&gt; to copy the values used to determine when status update packets are sent (inside &lt;tt&gt;EntityPlayerSP.onUpdateWalkingPlayer&lt;/tt&gt;) across to the newly-created player.&lt;/p&gt;</description>
                <environment></environment>
        <key id="24627">MC-10657</key>
            <summary>Player entering nether portal while sneaking stuck in &apos;partial sneak&apos;</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="dubbedcraft">Miles Brouillette</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Mar 2013 19:57:05 +0100</created>
                <updated>Sun, 22 Mar 2020 11:35:11 +0100</updated>
                            <resolved>Wed, 5 Jun 2019 01:58:01 +0200</resolved>
                                    <version>Snapshot 13w09c</version>
                    <version>Minecraft 1.8</version>
                    <version>Minecraft 1.8.1</version>
                    <version>Minecraft 1.8.3</version>
                    <version>Minecraft 1.8.4</version>
                    <version>Minecraft 1.8.8</version>
                    <version>Minecraft 15w32c</version>
                    <version>Minecraft 15w36d</version>
                    <version>Minecraft 15w38b</version>
                    <version>Minecraft 15w45a</version>
                    <version>Minecraft 1.11.2</version>
                    <version>Minecraft 1.13.1</version>
                    <version>Minecraft 1.13.2</version>
                    <version>Minecraft 19w12b</version>
                    <version>Minecraft 19w13b</version>
                    <version>Minecraft 19w14a</version>
                    <version>Minecraft 19w14b</version>
                                    <fixVersion>Minecraft 1.14.2</fixVersion>
                                                        <votes>12</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="580069" author="billygalbreath" created="Sun, 1 Sep 2019 01:05:50 +0200"  >&lt;p&gt;Confirmed is an issue again in 1.14.4&lt;/p&gt;</comment>
                            <comment id="568356" author="yottazoid" created="Mon, 22 Jul 2019 08:45:18 +0200"  >&lt;p&gt;This issue is occurring for me again in 1.14.4.&lt;/p&gt;</comment>
                            <comment id="536819" author="johnibur" created="Thu, 18 Apr 2019 23:58:25 +0200"  >&lt;p&gt;Fixed in 1.14-pre5.&lt;/p&gt;</comment>
                            <comment id="535439" author="johnibur" created="Mon, 15 Apr 2019 15:35:32 +0200"  >&lt;p&gt;Can confirm for 1.14-pre2. With the change in sneaking, this now implies the player will be in auto-sneaking pose until the sneaking button is pressed again.&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;Stepstoreproduce&quot;&gt;&lt;/a&gt;Steps to reproduce&lt;/h3&gt;
&lt;ol&gt;
	&lt;li&gt;Go to a Nether portal while holding sneak button.&lt;/li&gt;
	&lt;li&gt;Release the button once you are waiting on the loading terrain screen.&lt;/li&gt;
	&lt;li&gt;You will be put on auto-sneak on the other side until you press sneak again.&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="484778" author="kraif" created="Sat, 25 Aug 2018 17:26:56 +0200"  >&lt;p&gt;Couldn&apos;t reproduce for 1.13.1.&lt;/p&gt;</comment>
                            <comment id="459807" author="quadraxis" created="Mon, 11 Jun 2018 13:52:41 +0200"  >&lt;p&gt;&lt;tt&gt;Minecraft.setDimensionAndSpawnPlayer&lt;/tt&gt; creates a new player entity, mostly losing the field values from the old one.&lt;br/&gt;
 This causes the client to &quot;forget&quot; that the player was previously sneaking, and so it will not send a status update packet to the server as it believes that the sneak status is unchanged, causing the issue.&lt;/p&gt;

&lt;p&gt;This issue can be fixed by changing &lt;tt&gt;setDimensionAndSpawnPlayer&lt;/tt&gt; to copy the values used to determine when status update packets are sent (inside &lt;tt&gt;EntityPlayerSP.onUpdateWalkingPlayer&lt;/tt&gt;) across to the newly-created player.&lt;/p&gt;</comment>
                            <comment id="294744" author="JIRAUSER71590" created="Sun, 13 Mar 2016 18:52:41 +0100"  >&lt;p&gt;The enviroment is supposed to contain pc details.&lt;/p&gt;</comment>
                            <comment id="263093" author="kebabdavidshos" created="Sun, 8 Nov 2015 14:10:18 +0100"  >&lt;p&gt;I tested this in 15w45a in singleplayer and experienced the issue, I couldn&apos;t open chests etc. As I was in singleplayer I couldn&apos;t test wether other players saw me as crouching or not.&lt;/p&gt;</comment>
                            <comment id="262890" author="JIRAUSER71590" created="Sun, 8 Nov 2015 00:41:47 +0100"  >&lt;p&gt;is this still an issue in 15w45a?&lt;/p&gt;</comment>
                            <comment id="250970" author="nightmiles" created="Sun, 20 Sep 2015 16:29:13 +0200"  >&lt;p&gt;Still persists in 15w38b&lt;/p&gt;</comment>
                            <comment id="248192" author="nightmiles" created="Wed, 9 Sep 2015 17:14:00 +0200"  >&lt;p&gt;Still reproducible in 15w36d.&lt;/p&gt;</comment>
                            <comment id="225190" author="kebabdavidshos" created="Sun, 19 Apr 2015 18:00:23 +0200"  >&lt;p&gt;Problem persists in Minecraft version &lt;b&gt;1.8.4&lt;/b&gt; as well. This was tested on a Realms survival world.&lt;/p&gt;</comment>
                            <comment id="222648" author="nightmiles" created="Sat, 21 Mar 2015 23:58:26 +0100"  >&lt;p&gt;Problem persists in 1.8.3, as described in my accidental duplicate issue &lt;a href=&quot;https://bugs.mojang.com/browse/MC-78912&quot; title=&quot;Player entering Nether Portal while sneaking stuck in &amp;quot;partial sneak&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-78912&quot;&gt;&lt;del&gt;MC-78912&lt;/del&gt;&lt;/a&gt;. My details from that issue (which should be closed and linked to this one as a duplicate):&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;If a player passes through a Nether Portal while in sneak mode, that player retains some properties of sneaking after coming out on the other side.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Cannot open chests, flip levers, etc.&lt;/li&gt;
	&lt;li&gt;Visually appears crouched to other players (including nameplate being hidden by opaque blocks)&lt;/li&gt;
	&lt;li&gt;Moves at full normal speed, despite appearing crouched&lt;/li&gt;
	&lt;li&gt;Falls off of block ledges, despite appearing crouched&lt;/li&gt;
	&lt;li&gt;Able to break and place blocks normally&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Effect remains until player presses/releases sneak key. &lt;/p&gt;

&lt;p&gt;Tested on a Realms Survival world in 1.8.3.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="211329" author="qlimaxmito" created="Fri, 12 Dec 2014 12:09:16 +0100"  >&lt;p&gt;Confirmed for 1.8.1.&lt;br/&gt;
I&apos;d like to mention this is more than just a graphical issue and you can get out of this glitch at any time by pressing the sneak button.&lt;/p&gt;

&lt;p&gt;To my understanding the server keeps track of your sneaking state in order to show the animation to the other players online and, more importantly, decided what to do when you right click on an interactive block (i.e. place block against a crafting table or open its interface).&lt;br/&gt;
I believe this bug happens because during the world loading screen controls are frozen, which means the no-longer-sneaking notification is never sent to the server, or something like that.&lt;/p&gt;

&lt;p&gt;Here is a video showing not-graphical part of the issue: &lt;a href=&quot;http://youtu.be/RudTOG2reic&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://youtu.be/RudTOG2reic&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;sub&gt;Personal side note: it would be nice if this was key binding dependent, not sneak dependent.&lt;/sub&gt;&lt;/em&gt;&lt;/p&gt;</comment>
                            <comment id="199989" author="redstonehelper" created="Sun, 14 Sep 2014 19:00:50 +0200"  >&lt;p&gt;1.8, this is an issue again: &lt;a href=&quot;https://www.youtube.com/watch?v=wbSt5ntHgOI&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.youtube.com/watch?v=wbSt5ntHgOI&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also verified locally by opening to LAN. Please re-open.&lt;/p&gt;</comment>
                            <comment id="59267" author="bljat" created="Sun, 7 Apr 2013 17:53:18 +0200"  >&lt;p&gt;No answer on querry, assuming no longer an issue.&lt;/p&gt;</comment>
                            <comment id="55277" author="kumasasa" created="Tue, 19 Mar 2013 00:02:58 +0100"  >&lt;p&gt;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.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="107875">MC-78912</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="117180">MC-85505</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="169448">MC-116678</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="174012">MC-118907</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="234170">MC-147522</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 22 Mar 2015 04:08:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11901" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Category</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11622"><![CDATA[(Unassigned)]]></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|i0ggef:</customfieldvalue>

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