mojira.dev
MC-256952

minecraft.killed_by:minecraft.lightning_bolt doesn't increase when killed by lightning bolt

The Bug:

minecraft.killed_by:minecraft.lightning_bolt doesn't increase when killed by lightning bolt.

Steps to Reproduce:

  • Create a scoreboard objective for tracking being killed by lightning bolts and set it to display on the sidebar.

/scoreboard objectives add Struck minecraft.killed_by:minecraft.lightning_bolt
/scoreboard objectives setdisplay sidebar Struck
  • Set the gamerule doFireTick to false to make sure the bolt won't create fire, making the player die to fire damage instead of bolt damage.

/gamerule doFireTick false
  • Make sure the gamemode is survival or adventure and get struck by lightning bolts till death.

/summon lightning_bolt
  • After being killed by the bolt, check if the score increased.

 

Observed Behavior:

The scoreboard doesn't increase.

Expected Behavior:

The scoreboard would increase.

Linked issues

Comments 1

Thank you for your report!
We're tracking this issue in MC-142723, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

migrated

(Unassigned)

Confirmed

Statistics

lightning_bolt, scoreboard

1.19.2, 22w43a

Retrieved