Effect names do not work in data tags
You can use effect names with the effect command:
/effect @p invisibility 10 (gives the player Invisibility for 10 seconds)
What is expected?:
/summon Zombie ~ ~ ~ {NoAI:1,ActiveEffects:[{Id:invisibility,Amplifier:0,Duration:9999}]} will spawn an invisible zombie.
What happens?:
A zombie with no status effects is spawned.
Workaround:
Use the ID of the effect instead:
/summon Zombie ~ ~ ~ {NoAI:1,ActiveEffects:[{Id:14,Amplifier:0,Duration:9999}]}
2014-08-16, 12:16 AM
2016-08-12, 04:50 PM
2016-08-12, 04:50 PM
0
1
-