mojira.dev
MC-267441

When a player's generic.step_height attribute is set to more than two, attempting to step atop of more than two blocks may fail if there are blocks higher up

When a player's generic.step_height attribute is increased (e.g. with the attribute command), attempting to step onto a column of blocks that is smaller than the step height but still taller than two blocks fails if there are blocks higher up on the same column that the player cannot get on because of the step height being too small.

How to reproduce:

  • Modify your step height to e.g. 10:
    /attribute @s generic.step_height base set 10.0

  • Place three blocks of stone, then leave three blocks of air above, then place another six blocks of stone above (see attachment)

  • Stand to the side of the whole pillar (where the armour stand is located in the attachment) and walk into the bottom of the lower three blocks
    ❌ You cannot step on top of the three blocks (where the item frame is located in the attachment)

Attachments

Comments 2

Can confirm - it seems like if the step height is greater than the height you would step up plus the height of the air space, it will fail.

[media]

 

After repeated tests, when step height(denoted by n) is  less than 10(pink banner means n=8, blue banner means n=7) and the height of the blocks in front of the player is greater than 3, if there is a blocks at ~1 ~n+2 ~ (the player is facing east), the player will not be able to reach the top of the blocks. (the banner)
If step height is set to10 or higher(white banner means n≥10) and the blocks in front of the player is greater than 3, if there is a blocks at ~1 ~12 ~ (with the player facing east), the player will not be able to reach the top of the blocks. (the banner)

Aeldrion

Shugoh

Confirmed

Platform

Normal

Commands, Player

23w51b, 24w12a, 1.20.5 Pre-Release 3

1.20.5 Pre-Release 2, 24w18a

Retrieved