So I've been trying to figure this out myself, but haven't had any success. I've created my mobs and have them randomly spawning in the world, except I want certain mobs to only spawn at a certain distance from spawn. For example, I've created 2 zombies. One is very basic and the other has a sword and some armor. I want the one wearing armor to only spawn 500 blocks from spawn. How would I go about doing this?
↧