Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-151532

/damage lightning only does lightning effects for turtles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.18.10.26 Beta, 1.19.60
    • None
    • Confirmed
    • Windows
    • 686914

      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.

            tryashtar [Mod] tryashtar
            Votes:
            5 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: