mojira.dev
MC-270748

In the air(not flying), players behave the same as on the ground while sneaking if there is a block in the space equal to the hit height extending from {generic.step_height=n≦10→(n),n>10→10} blocks below

How to reproduce

  1. Set your own attribute generic.step_height with a positive integer and generic.gravity with 0, for example, execute these commands on the chat:

    /attribute @s minecraft:generic.step_height base set 6
    /attribute @s minecraft:generic.gravity base set 0
  2. Place a block in the space from the number of your current attribute generic.step_height x 1 blocks below to 1.5 blocks above it.

  3. Try to go over that edge when there is a block where you are standing by moving while sneaking. (Then this happens)

  4. Change location and place a half block (up) generic.step_height x 1 - 1 blocks down.

  5. Again try to go over that edge when there is a block where you are standing by moving while sneaking. (Then this not happens)

  6. Execute this command on the chat:

    /attribute @s minecraft:generic.step_height base set 11
  7. Place a block in the space from 10 block below to 1.5 blocks above it.

  8. Again try action in 3. (Then this happens again)

  9. Repeat the actions in 1.

  10. Execute this command on the chat:

    /attribute @s minecraft:generic.scale base set 0.5
  11. Place a block generic.step_height x 1 - 1 block down.

  12. Again try action in 3. (Then this not happens)

Linked issues

Attachments

Comments 3

It is fixed in 1.20.5-pre2.

AppleSW

(Unassigned)

Confirmed

Platform

Important

Commands

attribute, sneak

1.20.5 Pre-Release 1

1.20.5 Pre-Release 2

Retrieved