mojira.dev
MC-278344

Advancement trigger "fall_from_height" triggers every tick while flying downwards in Creative mode

Step to reproduce:

  1. Create a advancement with trigger "fall_from_height"

    {
      "criteria": {
        "requirement": {
          "trigger": "minecraft:fall_from_height"
        }
      },
      "rewards": {
        "function": "namespace:fall"
      }
    }
  2. Create a function

    advancement revoke @s only namespace:fall
    say 1
  3. While flying in creative mode, hold down the shift key.

Expected result:
The achievement was only expected to trigger when landing on the block.

Actual result:
The achievement triggered even though the player did not land on the block.

 

Attachments

Comments 4

Please attach a functioning datapack in favor of requesting users create their own.

I also found that this bug also happens when using the slow falling effect

Slow falling is still falling; flying downwards is not.

No, I meant that while the player is falling down and has a slow falling effect, the advancement will trigger, even though he hasn't landed yet

JustJabka

(Unassigned)

Confirmed

Gameplay

Normal

Advancements

1.21.3, 24w46a, 1.21.4

Retrieved