4
How to make a mob don't spawn
I would like to know if there is any way to make just a few mobs not spawn in the game using commands (these would be: cod, tropical fish, pufferfish and salmon).
Create an account or sign in to comment.
6
![Sted's Avatar](https://static.planetminecraft.com/files/avatar/3509157_4.png)
/tp @e[type=<insert entity name here>] 0 -1000 0
they'll tp'd away, and eventually die,
using /kill creates death particles, and makes the entity drop its loot
they'll tp'd away, and eventually die,
using /kill creates death particles, and makes the entity drop its loot
![MeetChops's Avatar](https://static.planetminecraft.com/files/avatar/default.png)
or you can set a repeated command block to repeat tp'ing it to the void (better if used for servers so players don't know that zombies are there for example)
![Sted's Avatar](https://static.planetminecraft.com/files/avatar/3509157_4.png)
bruh yea i meant using hte command in a repeater command block
![MeetChops's Avatar](https://static.planetminecraft.com/files/avatar/default.png)
You first give yourself a command block. Then, type this command:
This example will kill zombies.
Set the command block to repeat and always active.
You can type any mob name in place of the word
/kill @e[type=zombie]
This example will kill zombies.
Set the command block to repeat and always active.
You can type any mob name in place of the word
zombie
but you have to individually put in a command block for each mob.![Echo4Al8RexCoco's Avatar](https://static.planetminecraft.com/files/avatar/3394519_8.png)
You could also reach the limit for how many of those mobs there can be in a world if you're using Java
![MeetChops's Avatar](https://static.planetminecraft.com/files/avatar/default.png)
yeah you could make a mob switch sort of thing for
ZOMBIES