mojira.dev
MCPE-151532

/damage lightning only does lightning effects for turtles

The new /damage command lets you specify the type of damage. One such option is lightning. One would expect that you can use this option to charge creepers, convert mooshrooms, and so on.

That does not work. The only special lightning interaction that works is lightning instantly killing turtles.

How to reproduce

/summon turtle
/damage @e[type=turtle] 1 lightning

✔ It dies because lightning does extra damage to turtles

/summon creeper
/damage @e[type=creeper] 1 lightning

❌ It doesn't charge even though it took lightning damage

Cause
The reason for this is pretty obvious, turtles check for "cause":"lightning" in their damage sensor, but creepers and other things check for the lightning family in the damaging entity. Making this consistent is trivially easy and will fix this problem.

Linked issues

Comments 1

[Mod] OcelotOnesie

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryFeature Requests and Suggestions

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

tryashtar

(Unassigned)

686914

Confirmed

Windows

1.18.10.26 Beta, 1.19.60, 1.21.70

Retrieved