Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-265817

Criteria enter_block trigger multiple times per tick

XMLWordPrintable

    • Confirmed
    • Advancements, Collision, Data Packs
    • Low
    • Platform

      The Bug

      Advancements with criteria enter_block can trigger more than matched blocks per tick.

      How to Reproduce

      1. Load the datapack provided at attachment:
        .../<save>/<datapacks>/
        /reload
        
      2. Do something.
      3. 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

      1. Rotation (can reproduce by
        /tp @s ~ ~ ~ ~1 ~
        
      2. Motion (can reproduce by collision from other entities
      3. Specified tick with 1 second period (can reproduce by waiting 20 ticks

            Unassigned Unassigned
            ccJerrycc ccJerrycc
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: