mojira.dev
MC-275082

Sneaking at the edge of a 1.5-block-high place may get stuck

  1. Build a structure like

[media]
  1. .

  2. Keep walking straight to the corner in front of the upper slab.

  3. Press the shift key down and up quickly (need to keep on holding down the W key).

For more detailed operations that I may not know how to describe, please refer to the video (

[media]

).

After the operations, sometimes the player may get stuck at the edge of the slab, After switching to the third person view, you will see the player repeatedly playing the sneaking animation.

Updated: I am going to show a way to reproduce it with command. It precisely changes the player's coordinates, allowing it to be located exactly at the edge of the upper slab.

/fill ~1 ~ ~1 ~1 ~1 ~2 minecraft:glass
/fill ~-1 ~ ~1 ~-1 ~1 ~2 minecraft:glass
/setblock ~ ~1 ~2 stone_slab[type=top]
/setblock ~ ~2 ~2 minecraft:command_block
  1. Set the command in the command block to:

    tp [username] ~ ~-2 ~-0.7999999
  2. Activate this command block.

  3. Try to move towards the direction of the slab (don't press the Shift key).

  4. Then you will see the player was stuck like in the video:

[media]
  1. If the player didn't stuck at the edge of the slab (the player didn't try to sneak or the player successfully sneak down), change the number of 9s in the command of the command block and have some other tries.

Linked issues

Attachments

Comments 11

Your Minecraft version is outdated. Please see if you can reproduce this in 1.21.1.

Yeah, I reproduced it in 1.21.1 just now, with the same way. Should I reupload the videos?

Updated, reproduced it in 1.21.1 wihout any effects and enchanted armor.

I was unable to reproduce:

[media]
1 more comments

Your F3 debug menu indicates that your game is modified (it usually doesn't show your username in the first line). Does this happen in a 100% vanilla environment?

Could not reproduce in 1.21.1. Below is a video showcasing my attempts.

[media]

I am sorry about that. I used a Chinese Minecraft launcher - PCL2.

Despite this, I am going to show a way to reproduce it with command. It precisely changes the player's coordinates, allowing it to be located exactly at the edge of the upper slab. If this still doesn't work, then it should be a problem with my computer or launcher.

(I found that there is a problem with the ordered list below, but I don't know how to modify it.)

/fill ~1 ~ ~1 ~1 ~1 ~2 minecraft:glass
/fill ~-1 ~ ~1 ~-1 ~1 ~2 minecraft:glass
/setblock ~ ~1 ~2 stone_slab[type=top]
/setblock ~ ~2 ~2 minecraft:command_block
  1. Set the command in the command block to:

    tp [username] ~ ~-2 ~-0.7999999
  2. Activate this command block.

  3. Try to move towards the direction of the slab (don't press the Shift key).

  4. Then you will see the player was stuck like in the video:

[media]
  1. If the player didn't stuck at the edge of the slab (the player didn't try to sneak or the player successfully sneak down), change the number of 9s in the command of the command block and have some other tries.

This should be a bug caused by accuracy issues, so when the player is in a very small range of coordinates, it can cause the game to not know whether to continue moving forward or stop in front of the slab. I tried to make the game more laggy and reproducible before, probably because in this situation, the precision required to catch this bug was smaller.


Reply from @unknown:
I fixed the ordered list for you. You left blank lines between the steps so the list always starts at the beginning.

Using the provided steps, I was able to reproduce this:

[media]

I was also able to reproduce the bug with the provided steps. Seems like I also managed to find more ways the bug can visually appear.

[media]

cff_0102

(Unassigned)

Confirmed

Platform

Normal

Collision, Player

slab, sneaking

1.21.1

Retrieved