[MC-10657] Player entering nether portal while sneaking stuck in 'partial sneak' Created: 01/Mar/13 Updated: 22/Mar/20 Resolved: 04/Jun/19 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Snapshot 13w09c, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 1.8.8, Minecraft 15w32c, Minecraft 15w36d, Minecraft 15w38b, Minecraft 15w45a, Minecraft 1.11.2, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b |
| Fix Version/s: | Minecraft 1.14.2 |
| Type: | Bug | ||
| Reporter: | Miles Brouillette | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 12 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| CHK: | |||||||||||||||||||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||||||||||||||||||
| Category: |
(Unassigned)
|
||||||||||||||||||||||||||||
| Description |
The bugIf 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.
Effect remains until player presses/releases sneak key. Video of the behavior: Code analysis by quadraxis Minecraft.setDimensionAndSpawnPlayer creates a new player entity, mostly losing the field values from the old one. This issue can be fixed by changing setDimensionAndSpawnPlayer to copy the values used to determine when status update packets are sent (inside EntityPlayerSP.onUpdateWalkingPlayer) across to the newly-created player. |
| Comments |
| Comment by BillyGalbreath [ 31/Aug/19 ] |
|
Confirmed is an issue again in 1.14.4 |
| Comment by Yottazoid [ 22/Jul/19 ] |
|
This issue is occurring for me again in 1.14.4. |
| Comment by [Helper] Johnibur [ 18/Apr/19 ] |
|
Fixed in 1.14-pre5. |
| Comment by [Helper] Johnibur [ 15/Apr/19 ] |
|
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. Steps to reproduce
|
| Comment by Kraif [ 25/Aug/18 ] |
|
Couldn't reproduce for 1.13.1. |
| Comment by Ben Staddon [ 11/Jun/18 ] |
|
Minecraft.setDimensionAndSpawnPlayer creates a new player entity, mostly losing the field values from the old one. This issue can be fixed by changing setDimensionAndSpawnPlayer to copy the values used to determine when status update packets are sent (inside EntityPlayerSP.onUpdateWalkingPlayer) across to the newly-created player. |
| Comment by user-f2760 (Inactive) [ 13/Mar/16 ] |
|
The enviroment is supposed to contain pc details. |
| Comment by KebabDavidsHos [ 08/Nov/15 ] |
|
I tested this in 15w45a in singleplayer and experienced the issue, I couldn't open chests etc. As I was in singleplayer I couldn't test wether other players saw me as crouching or not. |
| Comment by user-f2760 (Inactive) [ 07/Nov/15 ] |
|
is this still an issue in 15w45a? |
| Comment by John Trainer [ 20/Sep/15 ] |
|
Still persists in 15w38b |
| Comment by John Trainer [ 09/Sep/15 ] |
|
Still reproducible in 15w36d. |
| Comment by KebabDavidsHos [ 19/Apr/15 ] |
|
Problem persists in Minecraft version 1.8.4 as well. This was tested on a Realms survival world. |
| Comment by John Trainer [ 21/Mar/15 ] |
|
Problem persists in 1.8.3, as described in my accidental duplicate issue
|
| Comment by Qlimax Mito [ 12/Dec/14 ] |
|
Confirmed for 1.8.1. 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). Here is a video showing not-graphical part of the issue: http://youtu.be/RudTOG2reic Personal side note: it would be nice if this was key binding dependent, not sneak dependent. |
| Comment by [Mod] redstonehelper [ 14/Sep/14 ] |
|
1.8, this is an issue again: https://www.youtube.com/watch?v=wbSt5ntHgOI Also verified locally by opening to LAN. Please re-open. |
| Comment by Tails [ 07/Apr/13 ] |
|
No answer on querry, assuming no longer an issue. |
| Comment by Kumasasa [ 18/Mar/13 ] |
|
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. |