mojira.dev
MC-268320

Active Effects tag does not work when summoning a mob

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.

Related issues

Comments

Arisa Bot

Thank you for your report!
We're tracking this issue in MC-32575, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

migrated

(Unassigned)

Unconfirmed

(Unassigned)

24w05b

Retrieved