1

[HELP] How to disable certain mobs spawning naturally

NoxiousCraftnet's Avatar NoxiousCraftnet8/27/16 3:39 pm
8/31/2016 4:47 pm
NoxiousCraftnet's Avatar NoxiousCraftnet
Hey guys, is there anyway I can disable mobs from spawning in a specific world?

Also is there a way we can disable creepers from spawning naturally but being able to spawn through spawners? this is crucial, please let me know!

Skype: Noxious Craft
Posted by NoxiousCraftnet's Avatar
NoxiousCraftnet
Level 8 : Apprentice Architect
0

Create an account or sign in to comment.

12

1
08/31/2016 4:47 pm
Level 8 : Apprentice Architect
NoxiousCraftnet
NoxiousCraftnet's Avatar
It's fine, I found a life save
1
08/31/2016 1:23 pm
Level 45 : Master Ranger
Greystalk
Greystalk's Avatar
My IGN is Greystalk. I haven't gotten on yet.
1
08/31/2016 6:13 am
Level 8 : Apprentice Architect
NoxiousCraftnet
NoxiousCraftnet's Avatar
Is your ingame name rihsomething? Sorry, I just came on and my players told me about you, please feel free to join again
1
08/31/2016 5:31 am
Level 8 : Apprentice Architect
NoxiousCraftnet
NoxiousCraftnet's Avatar
noxiouscraft.net or play.noxiouscraft.net
1
08/30/2016 6:11 pm
Level 45 : Master Ranger
Greystalk
Greystalk's Avatar
Sure, if you give me the IP.
1
08/30/2016 5:53 pm
Level 1 : New Crafter
GabrielleCraft
GabrielleCraft's Avatar
You can change the difficulty to peaceful
1
08/30/2016 1:28 pm
Level 8 : Apprentice Architect
NoxiousCraftnet
NoxiousCraftnet's Avatar
May I kindly ask you to join my server?
1
08/30/2016 10:31 am
Level 45 : Master Ranger
Greystalk
Greystalk's Avatar
Ok. Sorry for the late reply. This is a little more complicated. What you're gonna want to do first is run this command once. I suggest doing this around bedrock level at the spawn chunks.

/summon ArmorStand ~ ~1 ~ {Tags:["spawn"],NoGravity:1b,Invisible:1,Invulnerable:1}

Then you need to set up some scoreboards. You can run this from your chat.

/scoreboard objectives add spawnrate dummy

now for the command blocks. These two will basically count and record the number of zombies that spawn.

repeat, always active
/execute @e[type=Zombie,tag=!found] ~ ~ ~ /scoreboard players add @e[tag=spawn] spawnrate 1

chain, always active
/scoreboard players tag @e[type=Zombie,tag=!found] add found

now the final commands. This will just get rid of a random zombie for every ten zombies. To lower the spawn rate even further, just lower the number. For example, if you made the number 2, then it would get rid of a zombie every time two zombies spawned.

chain, always active
/execute @e[tag=spawn,score_spawnrate_min=10] ~ ~ ~ /tp @r[type=Zombie] ~ ~-200 ~

chain, always active
/scoreboard players set @e[tag=spawn,score_spawnrate_min=10] spawnrate 0

I know this seems kinda complicated, but if you read my instructions carefully, you should be able to get it. I did test this and it works like a charm.
1
08/28/2016 11:38 am
Level 8 : Apprentice Architect
NoxiousCraftnet
NoxiousCraftnet's Avatar
Okay, so I decided that I will just dramatically decrease the spawn rate of mobs, I put the difficulty as easy on my server but they spawn EXTREMELY aggressively. There's around 10 mobs in a radius of 10
1
08/28/2016 9:32 am
Level 45 : Master Ranger
Greystalk
Greystalk's Avatar
I don't have skype, but I'd be happy to answer any questions you have here on the forums or in a PM.
1
08/28/2016 8:14 am
Level 8 : Apprentice Architect
NoxiousCraftnet
NoxiousCraftnet's Avatar
May I kindly ask you to add me on Skype?
1
08/27/2016 7:06 pm
Level 45 : Master Ranger
Greystalk
Greystalk's Avatar
This command will make zombies not spawn naturally. Just replace zombie with the entity of your choice. The instant a zombie spawns, it will be teleported into the void, creating the effect that it never spawned at all.

tp @e[type=Zombie] ~ ~-200 ~

for the creepers do these commands. The first command sets a spawner that spawns creepers with a tag, so they won't get targeted by the second command. The second command will just teleport any creeper without the tag, which would be any naturally spawned creeper. I hope this makes sense. Let me know if you have any questions.

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnData:{id:"Creeper",Tags:["safe"]}}

tp @e[tag=!safe,type=Creeper] ~ ~-200 ~
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome