-
Bug
-
Resolution: Fixed
-
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
- 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
- Place or grow the block in question then break it, the score will not increase
- Create a half-block using /setblock, and then break it**, the score will increase
Additional Steps
- Create a half-block using /setblock and include nbt data for half=[lower, upper], and then break it, the score will increase
- 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.