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

minecraft.mined scoreboard criteria for double tall blocks may not be updating properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16 Pre-release 5
    • 1.14.4, 1.15.1, 1.15.2 Pre-release 2, 1.15.2, 21w03a
    • Confirmed
    • Commands

      The bug

      Scoreboard objective criteria minecraft.mined:minecraft.<double_tall_block> only increases when breaking the block spawned with /setblock, but not with double tall blocks naturally generated, grown (bonemeal on grass), or placed.

      How to reproduce

      1. Create your objective
        /scoreboard objectives add double_tall minecraft.mined:minecraft.<double_tall_block>
        /scoreboard objectives setdisplay sidebar double_tall
        /scoreboard players set @s double_tall 0
        
      2. Place or grow the block in question then break it, the score will not increase
      3. Create a half-block using /setblock, and then break it**, the score will increase

      Additional Steps

      1. Create a half-block using /setblock and include nbt data for half=[lower, upper], and then break it, the score will increase
      2. Create a half-block using /setblock with nbt data half=lower and then use /setblock to create a half-block directly above it with nbt data half=upper, when you break this block** the score will not increase

      Note: breaking both the bottom and top half have the same effect.

            Unassigned Unassigned
            Cethyrion Christopher Robinson
            Votes:
            6 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: