Mojira Archive
MC-164585

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

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.

Fixed

Christopher Robinson

2019-10-28, 12:24 AM

2024-12-16, 12:27 PM

2024-12-16, 12:27 PM

6

3

Confirmed

Commands

statistics

1.14.4 - 21w03a1.14.4, 1.15.1, 1.15.2 Pre-release 2, 1.15.2, 21w03a

1.16 Pre-release 5