4

How to make a mob don't spawn

FillkTheFillker 3/29/22 4:35 pm
230
4/2/2022 7:56 am
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).
Posted by
FillkTheFillker
Level 14 : Journeyman Architect
1

  Have something to say?

JoinSign in

6

Sted
04/01/2022 4:52 am
He/Him • Level 37 : Artisan Spider Rider
/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
1
MeetChops
04/02/2022 6:30 am
Level 1 : New Miner
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)
2
Sted
04/02/2022 7:56 am
He/Him • Level 37 : Artisan Spider Rider
bruh yea i meant using hte command in a repeater command block
1
MeetChops
03/30/2022 4:22 pm
Level 1 : New Miner
You first give yourself a command block. Then, type this command:
/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.
2
EchoTheGoof
03/30/2022 4:37 pm
Level 30 : Artisan Musician
You could also reach the limit for how many of those mobs there can be in a world if you're using Java
1
MeetChops
04/01/2022 4:29 am
Level 1 : New Miner
yeah you could make a mob switch sort of thing for
ZOMBIES
2

Welcome