mojira.dev
MC-279621

Air and similar blocks no longer work in minecraft:enter_block advancement trigger

Putting `minecraft:air`, `minecraft:cave_air`, or `minecraft:void_air` inside a `minecraft:enter_block` advancement trigger do not work. 

Steps to Reproduce:

  [Step 1] Download and load the datapack:

[media]

  [Step 2] Fly around the world in creative mode. Fly through a variety of non-collidable blocks like `minecraft:tall_grass` and `minecraft:water`.

Observed Results:

The `no_condition` advancement will trigger only when the player intersects with non-air blocks.
The `player_property_air` advancement will only trigger when the player intersects an air block and a non-air block at the same time.
The `air` advancement will never trigger.

Expected Results:

The `no_condition` advancement SHOULD trigger when the player intersects with ANY block, including `minecraft:air`.

The `player_property_air` advancement SHOULD only trigger when the player's location is at a `#minecraft:air` block, regardless of what other blocks they intersect.

The `air` advancement SHOULD trigger whenever the player intersects with a `minecraft:air` block.

Notes:

The current behavior is inconsistent with the definition of the `minecraft:enter_block` trigger.

Attachments

Comments 0

No comments.

RedSyven

(Unassigned)

Confirmed

Platform

Normal

Advancements, Data Packs

1.21.4, 25w03a

Retrieved