mojira.dev
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.

Linked issues

Attachments

Comments 5

Can confirm in 21w03a.

Can confirm in 1.19.3 and 23w05a

Fixed in 1.16 Pre-release 5. Although, Avoma and Brain81505 were able to reproduce it in later versions. I tested it on a few different blocks and wasn't able to reproduce it in those versions.
1.16 Pre-release 4:

[media]


1.16 Pre-release 5:

[media]

It seems that this issue was indeed fixed in 1.16 Pre-release 5.

Christopher Robinson

(Unassigned)

Confirmed

Commands

statistics

1.14.4, 1.15.1, 1.15.2 Pre-release 2, 1.15.2, 21w03a

1.16 Pre-release 5

Retrieved