
Use a fence or a wall to keep all mobs except spiders and spider jockeys off your lawn. Minecraft Bedrock Edition players can edit their world settings under “Game” and uncheck the box next to “Mob Spawning.” Java Edition players can type “/gamerule doMobSpawning false” into the chat bar to disable mobs. Other blocks such as glowstone or shroomlight emit higher light levels, but are harder to come by. These increase the light level around them, stopping hostiles from spawning. One of the most basic ways to prevent mob spawning is by placing torches.

You’ll need to be a server admin and have cheats enabled.īasic spawnproofing. You can only add a command block to your inventory using a game command.

In Minecraft, a command block is an item that you can not make with a crafting table or furnace and it is not available through the Creative Inventory menu. Dirt walls will be easily destroyed by creepers, while two block thick cobblestone will resist most creeper explosions. However, they are still attacked by withers, snow golems, vindicators named “Johnny”, and goats.ĭifferent blocks have different resistances to explosions. Creepers are not targeted by tamed wolves, iron golems or zoglins. A creeper that has begun a detonation does not flee unless the player leaves its blast radius. How do I turn off hostile mobs? How do you make creepers not destroy blocks? Do cats prevent creepers from spawning?Ĭats and ocelots do not attack creepers. How do you keep hostile mobs from spawning?


This will only work in a single-player world or a multiplayer world where the player has the appropriate privileges enabled. In Minecraft Java Edition, all players will need to do is open their chat console in-game and type “/gamerule mobGriefing false” to disable griefing from all mobs in the game world. The player can disable or enable griefing worldwide and after configuring once, the plugin will remember it and there is no need to change the settings again. This is a lightweight plugin that let’s the user disable or enable griefing for certain mobs without having to use ‘/gamerule doMobGriefing false’.
