mojira.dev
MC-176806

Scoreboard criteria for using glowstone doesn't increase score when charging a respawn anchor

How to reproduce

  1. Input these commands:

    /scoreboard objectives add useGlowstone minecraft.used:minecraft.glowstone
    /scoreboard players set @s useGlowstone 0
    /scoreboard objectives setdisplay sidebar useGlowstone
  2. Use glowstone to charge a respawn anchor
    → ❌ Score doesn't increase

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

Attachments

Comments 17

Confirmed in 20w21a.

Confirmed in 20w22a.

Confirmed in 1.16 Pre-release 4.

Can confirm in 20w51a.

Can confirm in 21w03a.

7 more comments

Can confirm in 1.18.2.

Can confirm in 1.19.

Can confirm in 1.19.2.

Following on from my code analysis, I've double-checked my proposed fix and I can confidently confirm that it's fully functioning and works as expected, so I've attached two screenshots to this report, one of which shows the current code and the other that shows the fixed code. I feel this information may be quite insightful hence my reasoning for providing it. 🙂

[media][media]

Can confirm in 1.21.4.

Paint

(Unassigned)

Confirmed

Platform

Low

Statistics

20w13b, 20w14a, 20w15a, 20w16a, 20w19a, ..., 1.19, 1.19.2, 1.20.1, 1.21, 1.21.4

Retrieved