A gamerule that allows the player to allow or not allow hostile mobs to spawn, like in peaceful mode except you still lose hunger, neutral mobs still attack you and the player has regular natural health regeneration.
An example of how the whole command could look like:
/gamerule DoHostileSpawning true
/gamerule DoHostileSpawning false
Please sign in to leave a comment.
0 Comments