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

Active Effects tag does not work when summoning a mob

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 24w05b
    • None
    • Unconfirmed
    • (Unassigned)

      Steps to Reproduce:

      1 Summon 1 zombified piglin in creative either by command or spawn egg

      2 Use the following command

      /execute as @e[type=minecraft:zombified_piglin] run summon zombified_piglin ~ ~ ~ {CanPickUpLoot:1b,CanBreakDoors:1b,active_effects:[

      {id:"minecraft:speed",amplifier:4b,duration:-1}

      ]}

      Observed Results:

      The speed of the zombified piglin is the same as a zombified piglin without speed

      If you use /effect give @e[type=zombified_piglin] speed infinite 1 true, then the zombified piglins will move faster.

       

      Expected Results:

      The speed of the zombified piglins summoned with the execute command should be faster than those summoned by a spawn egg.

            Unassigned Unassigned
            CaptainFlame54 CaptainFlame54
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: