mojira.dev
MC-132165

Spawn egg usage not detected via statistic or scoreboard objectives

Description

Scoreboard objectives and the statistics screen fails to track spawn egg usage.

Extra Investigation

  • Tried all spawn eggs and all failed.

Steps to Reproduce

Statistics Screen

  1. Gain a spawn egg via creative inventory or command

  2. Use it

  3. Pause

  4. Click 'Statistics'

  5. Navigate to the items tab

  6. Spawn egg fails to appear in the list

Scoreboard

  1. Create a new scoreboard objective to track spawn egg uses. Example using Cow:

    /scoreboard objectives add spawn_cow minecraft.used:minecraft.cow_spawn_egg
  1. Use the spawn egg corresponding to the created scoreboard objective

  2. Check the score via a command, example:

    /scoreboard players get @s spawn_cow

    or via displaying the objective on the sidebar

/scoreboard objectives setdisplay sidebar spawn_cow

Linked issues

Comments 0

No comments.

Benjamin Edwards

(Unassigned)

Unconfirmed

Minecraft 1.13-pre4

Retrieved