2
How do you disable mob spawning in Java?
I am creating a world in single player, and the animals and bats are driving me nuts!! How do I get ride of them! Help me!
I also need help on how to turn off the day-light cycle.
I also need help on how to turn off the day-light cycle.
Create an account or sign in to comment.
10
1
For future reference if you want only certain mobs to spawn (zombies for example), you can set up a repeating command block and copy the command (Assuming you are in 1.13)
/kill @e[type=!entity]
This will kill everything except that entity (be sure to put minecraft:player there otherwise you'll make a kill loop for players)
If you dont want to kill more than 1 entity
/kill @e[type=!entity,type=!entity,etc]
/kill @e[type=!entity]
This will kill everything except that entity (be sure to put minecraft:player there otherwise you'll make a kill loop for players)
If you dont want to kill more than 1 entity
/kill @e[type=!entity,type=!entity,etc]
1
I cant find a command block in Java. Im in 1.13.2
1
/give @p command_block
1
/gamerule doMobSpawning false
Edit: Wow you got it already, don't mind me
Edit: Wow you got it already, don't mind me
3
For disabling the mob spawning use the command
/gamerule doMobSpawning false
and for stopping the sun use
/gamerule doDaylightCycle false
Cheats have to be enabled in your world to use these commands.
/gamerule doMobSpawning false
and for stopping the sun use
/gamerule doDaylightCycle false
Cheats have to be enabled in your world to use these commands.
1
Thanks!!!! :D
1
You're welcome ^^
1
wow i didnt know you were on the forums xD nor did i know you did commands
2
I totally do commands xD They are very helpful for many things. But sometimes I found it difficult myself to find the right commands for something I needed on the internet because so few people care about them or so.
So, I am glad to help with commands as much as you need, cause I know the struggle of searching for the right one xD
Especially the syntax made me go crazy sometimes...
So, I am glad to help with commands as much as you need, cause I know the struggle of searching for the right one xD
Especially the syntax made me go crazy sometimes...
1
i hear you! maybe we should work on commands together xD
maybe you can make a rumbling noise for your vehicles lol
maybe you can make a rumbling noise for your vehicles lol