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.
2024-02-06, 12:15 AM
2024-02-06, 03:01 AM
2024-02-06, 02:56 AM
0
0
-