The Bug:
When sneaking while standing on the ground and on a climbable block you are not considered to be on the ground. This causes you to mine blocks slower and not be able to do sweeping attacks. You also will not get upward knockback. Scaffolding is not affected by this bug.
Steps to Reproduce:
Place a ladder on the side of a block.
Go into the ladder but remain on the ground.
Put yourself into survival mode.
Mine any block.
❌ The block will be mined slower as if you were in midair.
You can also put these two commands into two repeating command blocks to know whether you are considered to be on the ground or not:
title @a[nbt={OnGround:1b}] actionbar {"text":"On Ground"}
title @a[nbt={OnGround:0b}] actionbar {"text":"Midair"}
Linked issues
clones 1
is duplicated by 1
testing discovered 1
Attachments
Comments 5
Relates to MC-236155.
Although this was marked as works as intended sometime before, this only should be accepted if you are meaning to stay on the top of the ladder, which counts as a surface.