mojira.dev
MC-230799

Sculk sensors detect the movement of crouching players after they respawn if toggle-sneak is enabled

The bug

If the sneak mode in control settings is set to "toggle", then players who die while sneaking will still be sneaking after they respawn. However, after respawning, sculk sensors will detect the movement of these players even though they are still sneaking.

Steps to reproduce

  1. Ensure that your sneak mode in control settings is set to "Toggle" instead of "Hold".

  2. Create a new peaceful superflat world.

  3. Execute the following commands: /gamerule doMobSpawning false, /kill @e[type=!player] and /gamemode survival.

  4. Crouch.

  5. Give yourself a sculk sensor and place it down.

  6. Set the spawnpoint next to the sculk sensor.

  7. Execute /kill. You should respawn crouching.

  8. Wait for the sculk sensor to stop clicking and move.

  9. ❌ The sculk sensor will pick up the vibrations.

Expected result

The sculk sensor should not detect the movement of crouching players, and they shouldn't emit vibrations, per MC-211243.

Linked issues

Attachments

Comments

Avoma

I am unable to reproduce this issue in 1.17.1 Release Candidate 2. Could you provide some steps on how to go about reproducing this?

ampolive

Done.

pine1needle

I was able to reproduce (in 21w37a), but only if the sneak mode in control settings is set to "toggle". If it is set to "hold", then you're not crouching when you respawn, even if you continuously hold the shift key as you respawn. I will update the description accordingly.

ampolive

Thanks, @unknown. Relates to MC-237042.

ampolive

This is fixed in 1.20 Pre-release 6, the player no longer sneaks client-side after respawning.

ampolive

eowyn36

Confirmed

Game Events, Networking

sculk_sensor

1.17.1 Pre-release 3, 1.17.1 Release Candidate 1, 1.17.1 Release Candidate 2, 1.17.1, 21w37a, ..., 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20 Pre-release 4

1.20 Pre-release 6

Retrieved