Support our educational content for free when you purchase through links on our site. Learn more
`/gamerule mobGriefing false`: Stop Mob Damage 🧱
Use /gamerule mobGriefing false in Java Edition or /gamerule mobgriefing false in Bedrock Edition to stop many mobs from changing blocks. Creepers won’t wreck your walls, but mobs still spawn and attack—and villager farms or piglin bartering setups may stop working.
The catch is that this command controls more than explosions. It also affects certain mob interactions with crops, blocks, and dropped items, so a peaceful-looking base can come at the cost of a very unproductive farm. We’ll show you what changes, how to set the rule in your world or server, and what to check before flipping the switch.
Key Takeaways
- Use the right command for your edition: Java uses
mobGriefing; Bedrock usesmobgriefing. - It protects blocks from many mob interactions, including Creeper explosions and Enderman block pickup.
- It doesn’t disable mobs or stop all attacks—entity damage can still happen.
- Villager farming and some automated setups may break, so test the rule before changing a long-running survival world.
- To restore default behavior, set the rule to
true.
Table of Contents
- ⚡ Quick Tips and Facts
- 🧱 What
/gamerule mobgriefing falseDoes in Minecraft - What “Mob Griefing” Means
- What the Command Changes—and What It Doesn’t
- ⌨️ How to Turn Mob Griefing Off Java Edition Command and Capitalization
- Bedrock Edition Command and Settings
- Single-Player Worlds, Realms, and Servers
- Required Permissions, Cheats, and Operator Access
- 🔄 How to Turn Mob Griefing Back On
- 🐾 Mob-by-Mob Effects of the Mob Griefing Rule
- Creepers, Ghasts, and Endermen
- Villagers, Farming, and Crop Harvesting
- Shep, Rabbits, and Block Changes
- Piglins, Zombified Piglins, and Bartering
- Withers, Ender Dragons, and Bosses
- Other Mob Behaviors Affected by the Rule
- 🌱 Farming, Drops, and Gameplay Trade-Offs
- What Happens to Villager Farms and Food Supplies
- Mob Drops, XP, and Item Collection
- Redstone Builds and Automatic Farms
- 🗺️ Java vs. Bedrock: Differences to Know
- 🛠️ Troubleshooting the Mob Griefing Command
- “Unknown or Incomplete Command” Errors
- The Rule Changes Back or Won’t Apply
- How to Check the Current Game Rule
- 🎮 Alternatives to Disabling Mob Griefing
- Protecting Builds Without Changing Every Mob Behavior
- Server Plugins, Add-Ons, and World Settings
- ❓ Frequently Asked Questions
- Does Mob Griefing Stop Creeper Explosions?
- Can Villagers Still Pick Up Food and Breed?
- Does the Rule Affect Player Block Breaking?
- Does It Work on Existing Worlds?
- Can You Change It Without Cheats or Operator Permissions?
- ✅ Recommended Mob Griefing Settings by Play Style
- Conclusion
- Recommended Links
- Reference Links
Quick Tips and Facts
The first line you need is /gamerule mobGriefing false for Java Edition or /gamerule mobgriefing false for Bedrock Edition. It stops many mobs from changing the world—but it does not turn off mobs or make every dangerous behavior disappear.
| Quick fact | What to know |
|---|---|
| Default setting |
true |
| Java Edition rule name |
mobGriefing |
| Bedrock Edition rule name |
mobgriefing |
| Java command to disable |
/gamerule mobGriefing false |
| Bedrock command to disable |
/gamerule mobgriefing false |
| What it commonly prevents | Mob-caused block changes, item pickup, and some crop or environmental interactions |
| What it does not do | Remove mobs, stop all attacks, or prevent players from breaking blocks |
| Where it applies | The world or server where the rule is changed |
Minecraft’s game-rule reference documents the edition-specific names and effects. Watch the capitalization: Java’s rule name uses an uppercase G in mobGriefing; Bedrock’s is lowercase throughout.
Our practical tip: If you want a quieter build site without wrecking farms, test the rule in a copy of your world first. It protects blocks from several mob interactions, but can also break familiar survival systems—especially villager crop farming. We’ll get to that trade-off shortly.
What /gamerule mobGriefing false Does in Minecraft
What “Mob Griefing” Means
In Minecraft, mob griefing describes certain mobs changing blocks, picking up dropped items, or interacting with the environment. The game rule controls many of those behaviors. The Minecraft Wiki’s game-rule guide summarizes the effect of disabling it as preventing mobs from modifying the environment, though there are exceptions.
Think of the setting as a world-interaction switch, not a universal “make mobs harmless” button. A Creeper may still be a threat to your health, and a hostile mob can still attack; the important difference is whether its actions can alter blocks or trigger certain environmental interactions.
What the Command Changes—and What It Doesn’t
With mobGriefing set to false |
Still possible |
|---|---|
| Many mobs can no longer destroy, place, or alter blocks | Mobs can still spawn and attack |
| Some mobs can no longer pick up dropped items | Players can still collect and use items |
| Villagers stop picking up food and farming crops | Villagers can still behave in other ways, including breeding if they already have suitable food |
| Creeper and some other explosive attacks no longer damage blocks | Explosions or projectiles may still damage entities |
| Some creature-specific environmental actions stop | Not every mob behavior is controlled by this rule |
The key distinction: mob griefing is about world interaction, not every action a mob performs. That’s why “Creepers can’t blow up my house” is broadly useful shorthand, while “Creepers are disabled” is simply wrong.
How to Turn Mob Griefing Off
Java Edition Command and Capitalization
In Java Edition, enter:
/gamerule mobGriefing false
``
Java command names are case-insensitive in many contexts, but the documented rule name is `mobGriefing`. Use that spelling to match the official syntax and avoid confusion when checking commands or server guides.
1. Open chat.
2. Type `/gamerule mobGriefing false`.
3. Press **Enter**.
4. Check the command feedback for confirmation.
To check the current value, run:
```mcfunction
/gamerule mobGriefing
``
Minecraft’s [Java Edition command reference](https://minecraft.wiki/w/Commands/gamerule) covers the `/gamerule` command and rule-value syntax.
### Bedrock Edition Command and Settings
In Bedrock Edition, use lowercase:
```mcfunction
/gamerule mobgriefing false
``
1. Open chat or the command input.
2. Enter the command exactly as shown.
3. Run it and look for confirmation.
4. If it fails, check that cheats are enabled or that you have the required permissions.
You can also inspect available world options in Bedrock’s settings. However, changing game rules through commands generally requires cheats or suitable permissions, and enabling cheats may affect achievements for that world. Check the current [Minecraft Bedrock help and settings information](https://help.minecraft.net/) for platform-specific details.
### Single-Player Worlds, Realms, and Servers
| Where you play | Who can change the rule? | Practical route |
|---|---|---|
| Java single-player | The world owner, with commands available | Open the world to LAN with cheats enabled, or create the world with cheats |
| Bedrock single-player | The world owner or an authorized player | Enable cheats, then run the command |
| Realm | The owner or a player with appropriate permissions | Run the command in the Realm world |
| Multiplayer server | An operator or authorized administrator | Run it in-game or through the server console |
For a server, the command applies to the **world**, not just the person who entered it. If you’re a regular player, ask an operator rather than repeatedly trying a command your permissions won’t allow.
A [Kinetic Hosting tutorial](https://www.youtube.com/watch?v=EuyFqee87gQ&xstg=CAMSBhUDzO3xHw%3D%3D) also demonstrates setting the rule on a Minecraft server. It’s a useful quick walkthrough for the command itself; use the behavior breakdown below to understand what else the change affects.
### Required Permissions, Cheats, and Operator Access
If Minecraft rejects the command, the issue is usually **permissions**, not spelling.
- **Java single-player:** Cheats must be available in the world. In an existing world, you can temporarily enable commands through **Open to LAN → Allow Cheats: ON**.
- **Bedrock:** Cheats must be enabled, or you need permission to use commands.
- **Servers:** You generally need operator access or equivalent permissions.
- **Realms:** The owner or an authorized administrator can change rules.
On Bedrock, enabling cheats can disable achievements for that world. Read the warning on the world settings screen before confirming. For Java and server worlds, command access depends on how the world or server is configured.
## How to Turn Mob Griefing Back On
Restore default mob interactions with:
**Java Edition**
```mcfunction
/gamerule mobGriefing true
``
**Bedrock Edition**
```mcfunction
/gamerule mobgriefing true
``
Changing the rule back does **not** undo earlier consequences. Crops villagers never planted won’t magically appear, and blocks already damaged before the setting changed won’t rebuild themselves. It simply allows affected behaviors to resume going forward.
## Mob-by-Mob Effects of the Mob Griefing Rule
The exact behavior depends on the mob, edition, and game version. The table below summarizes commonly documented effects; consult the [game-rule reference](https://minecraft.wiki/w/Game_rule) if you’re checking a specific version or unusual mob interaction.
### Creepers, Ghasts, and Endermen
| Mob or interaction | Common effect when `false` | What remains dangerous or unchanged |
|---|---|---|
| Creeper explosions | Don’t destroy blocks | Can still damage players and other entities |
| Ghast fireballs | Don’t damage blocks or create fire | Can still damage entities |
| Endermen | Can’t pick up or place blocks | Can still teleport and attack when provoked |
| Ender dragon | Doesn’t break blocks | Can still attack and damage entities |
| Wither | Its block-destroying behavior is restricted | It remains a powerful boss and can still threaten entities |
That distinction matters most in survival. You can reduce the chance of rebuilding your front porch after a Creeper visit without turning the Creeper into a harmless green lawn ornament.
### Villagers, Farming, and Crop Harvesting
This is where many players discover the rule has a catch.
With mob griefing disabled, **villagers can’t pick up dropped items or carry out their usual crop-farming interactions**. That can stop villager-powered planting and harvesting systems. Villagers may still breed if they already have enough suitable food in their inventories, but they won’t collect more food from the ground while the rule is off.
Before changing the rule on a technical survival world, check:
- Villager crop farms
- Food collection and sharing setups
- Breder designs that rely on villagers picking up food
- Any contraption that depends on a villager throwing items
The [Minecraft Wiki’s villager information](https://minecraft.wiki/w/Villager) provides additional details on villager inventories, farming, and breeding.
### Sheep, Rabbits, and Block Changes
Some less obvious effects can surprise you:
- **Shep:** They can still behave as if eating grass and regrow wool, even though the grass block remains in place.
- **Rabbits:** They can’t eat carrot crops in the usual way.
- **Ravagers:** They can’t destroy crops or leaves.
- **Silverfish:** They can’t break into or emerge from infested blocks in the usual manner.
- **Snow golems:** They don’t leave snow trails.
- **Blazes:** They can’t create fire or light campfires through their usual interactions.
These are precisely the sorts of behaviors that make mob griefing feel less like one switch and more like a bundle of world-interaction rules.
### Piglins, Zombified Piglins, and Bartering
With the rule off, piglins won’t pick up dropped gold ingots or other items in the usual way, which interrupts automatic item-based bartering setups. **You can still barter by using a gold ingot on a piglin**, so the mechanic isn’t removed altogether; the automated pickup route is what changes.
The rule also affects certain mob behaviors involving turtle eggs, including how zombified piglins and drowned pathfind toward them. For details on piglin behavior and bartering, see the [Minecraft Wiki’s piglin guide](https://minecraft.wiki/w/Piglin).
### Withers, Ender Dragons, and Bosses
Disabling mob griefing is **not** a boss-fight off switch.
- The Ender Dragon can no longer destroy blocks through its usual block-breaking behavior.
- Wither-related block destruction is restricted.
- Explosions or projectiles can still hurt entities even when block damage is prevented.
- A Wither can still cause wither roses to drop in documented circumstances.
If you’re protecting a base near a boss fight, the setting can limit environmental destruction. Don’t mistake that protection for a safe fight: armor, cover, and a plan still matter.
### Other Mob Behaviors Affected by the Rule
Other documented interactions include:
- **Allays and foxes:** They can’t pick up dropped items; dolphins are also affected in Java Edition.
- **Zombies:** They can’t pick up items or break doors through the relevant mob interactions, and their turtle-egg behavior is affected.
- **Evokers:** In Java Edition, they can’t turn blue sheep red.
- **Mobs with the Weaving effect:** They don’t spawn cobwebs on death.
- **Bes, breezes, frogs, turtles, and players:** The rule has no effect on these entities in the documented cases.
There are version-specific details and exceptions. If a farm suddenly stops working after an update, verify the behavior for **your edition and version** instead of assuming every wiki table describes your exact world.
## Farming, Drops, and Gameplay Trade-Offs
### What Happens to Villager Farms and Food Supplies
A villager farm may look perfectly intact after the rule changes—but stop producing. That’s because the structure can remain while the villager behaviors powering it are blocked.
**Before disabling the rule:**
1. Identify whether villagers need to pick up seeds, crops, or food.
2. Check whether they need to plant or harvest crops.
3. Test the farm in a copied world or a small, controlled area.
4. If the farm stops, turn the rule back on or redesign the farm around player-controlled mechanics.
For a regular builder, this may be an acceptable trade: protected scenery in exchange for less automation. For a technical player who depends on villager farms, it can be a frustrating surprise.
### Mob Drops, XP, and Item Collection
The rule doesn’t generally mean **“mobs stop dropping loot”** or **“XP disappears.”** Its major impact is on particular mob interactions, especially item pickup and environmental changes. For example, preventing a piglin from collecting a dropped gold ingot can disrupt an automatic barter setup without removing the possibility of manual bartering.
When diagnosing a farm, ask whether it relies on a mob **picking up, placing, eating, trampling, or breaking something**. If yes, test before changing a long-running world.
### Redstone Builds and Automatic Farms
Many conventional redstone systems keep working because their mechanisms are player- or redstone-driven. The risk lies in designs that depend on mob behavior.
| Build type | Potential impact | What to test |
|---|---|---|
| Villager crop farm | Often disrupted | Planting, harvesting, and item sharing |
| Piglin barter farm | Dropped-item pickup stops | Manual versus automated gold delivery |
| Creeper-proof base | Block damage is prevented | Entity damage and nearby non-block effects |
| Item-collection setup using mobs | Pickup may stop | The exact mob and item interaction |
| Redstone-only door or sorter | Usually unrelated | Any mob-dependent component |
**App-developer-style debugging tip:** Change one variable at a time. Record the world version, edition, current rule value, and which mob behavior you tested. It’s not glamorous, but it beats discovering after an hour that your “broken farm” was simply following a different rule.
## Java vs. Bedrock: Differences to Know
| Detail | Java Edition | Bedrock Edition |
|---|---|---|
| Rule spelling | `mobGriefing` | `mobgriefing` |
| Disable command | `/gamerule mobGriefing false` | `/gamerule mobgriefing false` |
| Default | `true` | `true` |
| Command permissions | Cheats or authorized server permissions | Cheats or authorized permissions |
| Notable documented distinction | Dolphins’ item-pickup behavior is affected | Some Java-only interactions, such as evoker color changes, don’t apply |
| Best practice | Verify Java version and server setup | Verify Bedrock version, world settings, and achievement warning |
The core idea is shared: disabling mob griefing restricts many mob-caused changes to the world. But the rule name and some mob behaviors differ. The [Minecraft Wiki game-rule reference](https://minecraft.wiki/w/Game_rule) is a useful comparison point; for current platform instructions, consult [Minecraft Help](https://help.minecraft.net/).
## Troubleshooting the Mob Griefing Command
### “Unknown or Incomplete Command” Errors
Check the basics first:
- **Edition:** Use `mobGriefing` for Java and `mobgriefing` for Bedrock.
- **Spelling:** Include the slash and spaces exactly.
- **Permissions:** Confirm cheats or operator access.
- **Command input:** Make sure you’re entering a command, not ordinary chat text in a restricted server.
- **Version:** Older versions may use different command behavior or syntax.
Try the exact command for your edition:
```mcfunction
/gamerule mobGriefing false
``
```mcfunction
/gamerule mobgriefing false
``
### The Rule Changes Back or Won’t Apply
If the setting appears to revert, check whether:
- A server plugin, add-on, or admin tool resets game rules.
- You changed a different world or server instance.
- The command was run in a temporary test world.
- You lack permission to alter the persistent world settings.
- The behavior you’re observing is not controlled by mob griefing.
On a multiplayer server, ask an administrator whether a plugin or configuration manages world rules. The command can be correct and still fail to stick if another system overwrites it.
### How to Check the Current Game Rule
Run the rule by itself:
**Java**
```mcfunction
/gamerule mobGriefing
``
**Bedrock**
```mcfunction
/gamerule mobgriefing
``
The game should report the current value. If you don’t receive useful feedback, confirm the edition, command permissions, and whether the server accepts commands in your current context.
## Alternatives to Disabling Mob Griefing
### Protecting Builds Without Changing Every Mob Behavior
If your main concern is one base or one Creeper problem, a global rule may be broader than you need. Consider:
- Building with blast-resistant blocks where appropriate.
- Lighting and spawn-proofing vulnerable areas.
- Using walls, trenches, doors, or distance to reduce mob access.
- Keeping farms and village mechanics in a separate protected area.
- Maintaining a backup before testing major world-rule changes.
These approaches preserve more default mob behavior, but they take materials and planning. Choose based on whether your priority is **build protection, farm compatibility, or a more predictable world**.
### Server Plugins, Add-Ons, and World Settings
Server owners may prefer a plugin or add-on that offers more selective protection, if it’s compatible with their server software and version. A per-player or per-region protection tool can be more targeted than a world-wide game rule, but it also adds maintenance and compatibility questions.
Always verify:
- The software and Minecraft version supported.
- Whether the tool changes gameplay globally or by region.
- How it interacts with other plugins or add-ons.
- Whether it can be removed safely without affecting world data.
A community suggestion to separate mob behavior controls exists on the [Minecraft Feedback site](https://feedback.minecraft.net/hc/en-us/community/posts/440637364353-Separate-out-mobs-under-gamerule-mobgriefing). Treat it as a feature request, **not proof that the game currently provides separate built-in switches for each mob**.
## Frequently Asked Questions
### What are some popular Minecraft server settings that involve modifying the mobgriefing gamerule?
Server owners commonly set mob griefing to `false` to reduce block damage and protect builds, or leave it `true` to preserve default mob interactions and villager farms.
#### What should a server owner check first?
Test the rule with the server’s actual version and plugins. Confirm whether the community depends on villager farming, automatic piglin bartering, or other mob-based farms before changing a shared world.
### Are there any other gamerule commands that I can use to customize my Minecraft experience?
Yes. Minecraft has rules for settings such as mob spawning, fire spread, weather cycles, daylight cycles, and keeping inventory. Available rules and exact syntax can vary by edition and version.
#### How do I find the rules supported by my version?
Use the game’s command suggestions after typing `/gamerule`, or consult the [Minecraft game-rule reference](https://minecraft.wiki/w/Game_rule). Check the command in your own world before relying on a guide written for another version.
### How does disabling mob griefing impact the overall difficulty of a Minecraft game?
It can make the world **less punishing for builds**, since several mobs can no longer alter blocks. It doesn’t remove hostile mobs or stop their attacks, though, so combat difficulty remains. The survival challenge can also shift: some villager-based farms and item systems may stop working.
### Can I use the gamerule mobgriefing command to prevent creepers from destroying my builds?
**Yes.** Setting the rule to `false` prevents Creepers from damaging blocks through their explosions in the documented behavior, but explosions can still harm entities. Your character is not automatically safe just because the cottage is.
### What are the advantages of setting mobgriefing to false in a Minecraft survival world?
- **Build protection:** Many mob-caused block changes are prevented.
- **Fewer environmental surprises:** Endermen and several other mobs can no longer perform certain block interactions.
- **More predictable building:** Useful near valuable structures or creative projects.
The drawback is compatibility: villagers, piglins, and mob-dependent farms may behave differently.
### How do I enable or disable mob griefing in my Minecraft server using gamerule commands?
With permission, run the command in the server world or console.
**Java**
```mcfunction
/gamerule mobGriefing false
``
**Bedrock**
```mcfunction
/gamerule mobgriefing false
``
Set the value to `true` to re-enable it. The [Kinetic Hosting server tutorial](https://www.youtube.com/watch?v=EuyFqee87gQ&xstg=CAMSBhUDzO3xHw%3D%3D) demonstrates the basic server command. If you need a walkthrough of the broader effects, use the [featured video](#featured-video) as an additional reference.
### What is the purpose of mob griefing in Minecraft and how does it affect gameplay?
Mob griefing lets particular mobs interact with the environment—for example, through block damage, item pickup, or crop interactions. Those behaviors make the world feel reactive and support some farms, but can also damage builds. The game rule gives world owners a way to restrict many of those interactions.
### How do you disable mobs in Gamerule?
`mobGriefing` does **not** disable mobs. It restricts many mob interactions with the environment. To change mob spawning, Minecraft has separate game rules; check the rules supported by your edition before changing them.
### What is the command for mobGriefing false?
- **Java:** `/gamerule mobGriefing false`
- **Bedrock:** `/gamerule mobgriefing false`
### What happens when mobGriefing is set to false?
Many mobs can no longer change blocks or pick up dropped items, and some farming and environmental behaviors stop. Mobs still spawn and can still attack. The effect depends on the mob, edition, and version.
### Does mobGriefing false stop creepers from destroying blocks?
**Yes.** It prevents Creeper explosions from damaging blocks in the documented behavior. It does not prevent entity damage.
### Does mobGriefing false prevent Endermen from picking up blocks?
**Yes.** Endermen can no longer pick up or place blocks while the rule is disabled.
### Can you disable mobGriefing for one player or world in Minecraft?
The standard game rule applies to the **world**, not an individual player. Separate worlds can use different values. Servers may use compatible plugins or region tools for more targeted controls, but those aren’t the same as the built-in gamerule.
### How does mobGriefing false change farming and villager behavior?
Villagers can’t perform their usual crop farming or pick up dropped items while the rule is off. They may still breed if they already have enough appropriate food in their inventories. Test villager-based farms before changing a survival world’s setting.
### Which games have a mob griefing setting similar to Minecraft’s mobGriefing rule?
There isn’t a universal equivalent across other games. Some survival and sandbox games offer separate world rules, creature aggression settings, or structure-protection options, but the mechanics differ. Browse Games Like™’s [Adventure](https://www.gameslike.org/category/adventure/), [Action](https://www.gameslike.org/category/action/), and [Casual](https://www.gameslike.org/category/casual/) game categories for other styles of play; check each game’s official settings documentation for its specific controls.
## Recommended Mob Griefing Settings by Play Style
| Your play style | Suggested setting | Why |
|---|---|---|
| Builder or creative-world host | `false` | Reduces many unwanted mob-caused block changes |
| Survival player using villager farms | `true`, or test before switching | Preserves villager crop and item interactions |
| Server focused on protecting community builds | Consider `false` after testing | Helps limit block damage, but may affect farms |
| Technical player with mob-dependent automation | Test in a copy first | The rule can interrupt item pickup and farming mechanics |
| Player who wants standard survival behavior | `true` | Keeps default mob interactions |
**Our recommendation:** Choose `false` when build protection matters more than mob-driven farming and item systems. Keep `true` if you rely on those systems or want default survival behavior. If you’re unsure, test in a copied world first—your villagers, redstone contraptions, and future self will thank you.



