1

Command block system to prevent spawning.

AkirAssasin 2/23/15 5:53 am
529
2/24/2015 10:47 pm
I am making a survival map, but I want to make a system that only allows certain mobs to spawn. So I can't change doMobSpawning because it will prevent ALL mobs from spawning. Is there a lag-proof way to do this?

I have tried killing the mobs that should not be spawned, but you can see it flickering as it spawn and dies and it sometimes causes lag.
Posted by
AkirAssasin
Level 34 : Artisan Ninja
49

  Have something to say?

JoinSign in

7

TheArchitect_95
02/24/2015 10:25 am
Level 32 : Artisan Architect
Alternatively, instead of moving the mobs, the fill clock could be attached to commands which make the necessary mobs invisible and have NoAI set to 1? Then they're basically not there.
1
Jmal116
02/24/2015 8:35 am
Level 34 : Artisan System
With purely command blocks, you can only kill them or do what TheArchitect said and teleport them into the void. If neither of those will work for you, then you'll have to find some other way to do it.
1
AkirAssasin
02/24/2015 10:47 pm
Level 34 : Artisan Ninja
Gonna use plugins with SpigotMC
1
TheArchitect_95
02/23/2015 5:56 am
Level 32 : Artisan Architect
Use your existing system, which sounds like a fill clock, but teleport the prohibited mobs to y=-200, they will practically disappear.
1
AkirAssasin
02/24/2015 7:14 am
Level 34 : Artisan Ninja
That was the plan, but it might cause lag and if the mobs spawn in front of you you can see it flicker. Maybe make the textures of the mobs invisible with a resource pack?
1
mcrocks999
02/24/2015 7:18 am
Level 20 : Expert Cake
You just answered your own question?
1
AkirAssasin
02/24/2015 7:27 am
Level 34 : Artisan Ninja
Well, we're discussing
1

Welcome