mojira.dev
MC-128079

Statistic for using shears doesn't increase when mining certain blocks

Add a scoreboard with shears being used as the criteria:

/scoreboard objectives add shear minecraft.used:minecraft.shears

Display it in the sidebar:

/scoreboard objectives setdisplay sidebar shear

This scoreboard objective doesn't increase when mining carpet with shears and the other mentioned blocks.

If you use the criteria "minecraft.used:minecraft.diamond_pickaxe" and use said diamond pickaxe to mine carpet the score for the pickaxe increases, so why wouldn't it with shears?

Another Argument on why this is a bug is that the durability decreases in both cases, so the tools are clearly being used!

I think it might be good to have a list of blocks where it does not work. For the reason that you need to have the block mined with shears to actually collect an item, but where the criteria does not tick up.

  • tall_grass

  • large_fern

  • seagrass

  • tall_seagrass

  • nether_sprouts

Linked issues

Attachments

Comments 8

Confirmed in 20w48a

Can confirm in 21w05b.

Can confirm in 21w06a.

Can confirm in 1.16.5 and 21w14a.

Can confirm in 1.17.1. Video attached.

Can confirm in 1.18.2.

Can confirm in 1.19.

Can confirm in 1.19.3

Elemend

(Unassigned)

Confirmed

Platform

Low

Statistics

carpet, durability, shears, statistics, tool

Minecraft 18w14b, Minecraft 18w15a, Minecraft 18w16a, Minecraft 18w20c, Minecraft 18w21a, ..., 1.19.3, 1.20.1, 1.20.4, 1.20.6, 24w21b

25w02a

Retrieved