Mojira Archive
MC-268917

Players with increased step height can fall off blocks while sneaking

Players with increased step height can fall by 1 block or more even when they are sneaking.

Reproduction steps:

  1. Increase player step height, for example with the following command:
    /attribute @s minecraft:generic.step_height base set 10 
  1. Try to sneak while moving on top of a block.
  2. Notice that you can fall by 1 block or more. The larger the step height, the more it is possible to fall.

This is likely due to the use of this.maxUpStep() inside of Player#maybeBackOffFromEdge and Player#isAboveGround, which causes the checks to scale with the step height.

Works As Intended

Technici4n

2024-02-29, 04:54 PM

2024-06-22, 01:06 PM

2024-03-01, 08:16 AM

5

5

Confirmed

(Unassigned)

24w09a

-