Does anyone know why spawning a zombie using minecraft:spawn_entity makes the zombies move super fast and is there a way to fix it?
I recently downloaded the Alien Invasion world from Minecon. I've enjoyed playing it with my sister, but I found the game to be way too easy. I wanted to make it where hordes of aliens (zombie) populated the map, so I made an addon that modified the Zombie behavior.
I copied the Zombie behavior file from the Alien Invasion behavior pack and added this code:
This makes the aliens/zombies multiply, and it works like a charm. However, spawned zombies all move super fast (pretty much zombie baby speed). When you have 4 of these spawned at the same time, it makes the game impossible. I don't know why this is happening. My first thought was that the code is treating them as a baby zombie (even though they are full height when spawned). So, I added a baby zombie code section to set the speed to what the alien is set to.
This doesn't fix anything. The full code is below. I've even tried using the normal zombie file, and it does the same thing. Could this just be a bug? Is there any work around?