Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-260450

Mounting an entity with /ride and inflicting damage on another entity with /damage makes the vehicle target the attacker but not inflict damage until player dismounts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.19.4 Pre-release 1
    • None
    • Unconfirmed
    • (Unassigned)

      Description:

       

      When you ride an entity with the /ride command, using the /damage command while you ride said entity makes your vehicle target that specific entity, but it does not actually inflict damage to this target.

      How to reproduce:

      1) Summon a spider: execute summon spider run tag @s add spider

      2) Summon a skeleton: execute summon skeleton run tag @s add skeleton

      3) Ride the spider with the /ride command: ride @s mount @e[tag=spider,limit=1]

      4) Attack the spider through the skeleton with the /damage command: /damage @e[tag=spider,limit=1] 1 minecraft:generic by @e[tag=skeleton,limit=1]

      5) Watch as the spider goes after the skeleton, but fails to do any damage

      6) If you dismount, watch as the spider can now successfully attack the skeleton

      What is happening:

       

      The spider is chasing the skeleton but fails to do any damage. 

       

      What should be happening:

       

      The spider should be inflicting damage onto the skeleton.

            Unassigned Unassigned
            snaplingdd Snap Doomy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: