Criteria enter_block trigger multiple times per tick
The Bug
Advancements with criteria enter_block can trigger more than matched blocks per tick.
How to Reproduce
- Load the datapack provided at attachment:
.../<save>/<datapacks>/ /reload
- Do something.
- See the chat shows how many times the test advancement triggers.
Expected Behavior:
The advancement would execute reward function multiple times as the number of air blocks inside your hitbox.
Observed Behavior:
The advancement did more than expected if satisfying any condition below or not.
Known Factors
- Rotation (can reproduce by
/tp @s ~ ~ ~ ~1 ~
- Motion (can reproduce by collision from other entities
- Specified tick with 1 second period (can reproduce by waiting 20 ticks
Created Issue:
Criteria enter_block trigger multiple times per tick
The Bug
Advancements with criteria enter_block can trigger more than matched blocks per tick.
How to Reproduce
- Load the datapack provided at attachment:
.../<save>/<datapacks>/ /reload- Do something.
- See the chat shows how many times the test advancement triggers.
Expected Behavior:
The advancement would execute reward function multiple times as the number of air blocks inside your hitbox.
Observed Behavior:
The advancement did more than expected if satisfying any condition below or not.
Known Factors:
- Rotation (can reproduce by
/tp @s ~ ~ ~ ~1 ~- Motion (can reproduce by collision from other entities
- Specified tick with 1 second period (can reproduce by waiting 20 ticks
Note that sometimes motion/rotation even cause the executions postpone to next tick.
The Bug
Advancements with criteria enter_block can trigger more than matched blocks per tick.
How to Reproduce
- Load the datapack provided at attachment:
.../<save>/<datapacks>/ /reload- Do something.
- See the chat shows how many times the test advancement triggers.
Expected Behavior:
The advancement would execute reward function multiple times as the number of air blocks inside your hitbox.
Observed Behavior:
The advancement did more than expected if satisfying any condition below or not.
Known Factors:
- Rotation (can reproduce by
/tp @s ~ ~ ~ ~1 ~- Motion (can reproduce by collision from other entities
- Specified tick with 1 second period (can reproduce by waiting 20 ticks
Note that sometimes motion/rotation even cause the executions postpone to next tick.
The Bug
Advancements with criteria enter_block can trigger more than matched blocks per tick.
How to Reproduce
- Load the datapack provided at attachment:
.../<save>/<datapacks>/ /reload- Do something.
- See the chat shows how many times the test advancement triggers.
Expected Behavior:
The advancement would execute reward function multiple times as the number of air blocks inside your hitbox.
Observed Behavior:
The advancement did more than expected if satisfying any condition below or not.
Known Factors
:
- Rotation (can reproduce by
/tp @s ~ ~ ~ ~1 ~- Motion (can reproduce by collision from other entities
- Specified tick with 1 second period (can reproduce by waiting 20 ticks
Note that sometimes motion/rotation even cause the executions postpone to next tick.
The Bug
Advancements with criteria enter_block can trigger more than matched blocks per tick.
How to Reproduce
- Load the datapack provided at attachment:
.../<save>/<datapacks>/ /reload- Do something.
- See the chat shows how many times the test advancement triggers.
Expected Behavior:
The advancement would execute reward function multiple times as the number of air blocks inside your hitbox.
Observed Behavior:
The advancement did more than expected if satisfying any condition below or not.
Known Factors
- Rotation (can reproduce by
/tp @s ~ ~ ~ ~1 ~- Motion (can reproduce by collision from other entities
- Specified tick with 1 second period (can reproduce by waiting 20 ticks
Note that sometimes motion/rotation even cause the executions postpone to next tick.