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

Entities that normally inflict status effects on their targets do not inflict status effects when using the /damage command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 23w06a
    • None
    • Confirmed
    • Commands, Game Events

      The bug

      When the entity inflicting the damaged in the /damage command is a some mobs, the entity target to be damaged will not receive additional status effects.

      Reproduce steps and affected mobs

      1. Wither skeleton
        /damage @p 1 minecraft:generic by @e[type=minecraft:wither_skeleton,limit=1] from @e[type=minecraft:wither_skeleton,limit=1]
      2. Wither skeleton with bow
        /damage @p 1 minecraft:arrow by @e[type=minecraft:arrow,limit=1] from @e[type=minecraft:wither_skeleton,limit=1]
      3. Husk
        /damage @p 1 minecraft:generic by @e[type=minecraft:husk,limit=1] from @e[type=minecraft:husk,limit=1]
      4. Stray
        /damage @p 1 minecraft:arrow by @e[type=minecraft:arrow,limit=1] from @e[type=minecraft:stray,limit=1]
      5. Cave spider
        /damage @p 1 minecraft:generic by @e[type=minecraft:cave_spider,limit=1] from @e[type=minecraft:cave_spider,limit=1]
      6. Bee
        /damage @p 1 minecraft:generic by @e[type=minecraft:bee,limit=1] from @e[type=minecraft:bee,limit=1]
      7. Pufferfish
        /damage @p 1 minecraft:generic by @e[type=minecraft:pufferfish,limit=1] from @e[type=minecraft:pufferfish,limit=1]
      8. Burning zombies, zombie villagers and drowneds
        /damage @p 1 minecraft:generic by @e[type=minecraft:zombie,limit=1] from @e[type=minecraft:zombie,limit=1]

      Expected to happen...

      • When the entity inflicting the damage is a wither skeleton, the target gets the wither effect.
      • When the entity inflicting the damage is a wither skeleton with bow, will cause the target to catch fire.
      • When the entity inflicting the damage is a husk, the target gets the hunger effect.
      • When the entity inflicting the damage is a stray, the target gets the slowness effect.
      • When the entity inflicting the damage is a cave spider, bee or pufferfish, the target gets the poison effect.
      • When the entity inflicting the damage is a burning zombies, zombie villagers and drowneds, will cause the target to catch fire.

        1. 2023-02-12_01.03.03.png
          2023-02-12_01.03.03.png
          1.20 MB
        2. 2023-02-12_01.03.07.png
          2023-02-12_01.03.07.png
          914 kB
        3. 2023-02-12_01.03.41.png
          2023-02-12_01.03.41.png
          1.06 MB
        4. 2023-02-12_01.03.45.png
          2023-02-12_01.03.45.png
          1.04 MB
        5. 2023-02-12_01.05.53.png
          2023-02-12_01.05.53.png
          1.20 MB
        6. 2023-02-12_01.06.00.png
          2023-02-12_01.06.00.png
          830 kB
        7. 2023-02-12_01.20.01.png
          2023-02-12_01.20.01.png
          1.04 MB
        8. 2023-02-12_01.20.04.png
          2023-02-12_01.20.04.png
          818 kB
        9. 2023-02-12_01.23.00.png
          2023-02-12_01.23.00.png
          1.18 MB
        10. 2023-02-12_01.23.03.png
          2023-02-12_01.23.03.png
          840 kB
        11. 2023-02-12_01.24.11.png
          2023-02-12_01.24.11.png
          1.02 MB
        12. 2023-02-12_01.24.14.png
          2023-02-12_01.24.14.png
          816 kB

            Unassigned Unassigned
            Les3awe [Mod] Les3awe
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: