This Minecraft mods separates explosions and other destructive mob actions from the mob_griefing gamerule.
It adds a custom gamerule, mob_explosion_griefing:mob_explosion_griefing, which makes all mob explosions (except Withers) not destroy blocks. Other actions, like fireballs lighting fires, will still happen.
Additionally, certain actions can also be controlled separately.
- By turning
mob_explosion_griefing:creeper_griefingoff, Creepers will not destroy blocks when exploding. - By turning
mob_explosion_griefing:ghast_griefingoff, Ghasts will not destroy blocks when shooting Fireballs. They won't light fires either. - By turning
mob_explosion_griefing:wither_griefingoff, Withers will not destroy blocks with their spawn explosion, when taking damage or when shooting Skulls. However, Wither Roses will still be placed. - By turning
mob_explosion_griefing:enderman_griefingoff, Endermen will not pick up or place blocks. - By turning
mob_explosion_griefing:door_breaking_griefingoff, mobs will not be able to break doors, no matter the difficulty. - By turning
mob_explosion_griefing:step_and_destroy_goaloff, mobs will not pathfind to blocks with the objective of stepping on them and destroying them (e.g. Zombies won't attack Turtle Eggs). If they (or the player) do end up stepping on the block, it will still be destroyed.
All of these gamerules are true by default.
Turning mob_explosion_griefing:mob_explosion_griefing off will disable all explosions of the above (except Withers'), but other actions will still be allowed. For example, if mob_explosion_griefing is false, but ghast_griefing is true, Fireballs won't destroy blocks, but they will still light fires.
Turning mob_griefing off will disable all destructive mob actions, just like in vanilla, and will ignore the values of all gamerules added by this mod.
After updating to 1.21.11 or above, the values of all game rules added by this mod will be reset to true. You need to reset them manually!
Other vanilla functionality should not be affected. If you find any bugs or have any ideas on how the mod could be enhanced, please post a GitHub Issue.
How to Install Mob Explosion Griefing Gamerule (Mod)
Mob Explosion Griefing Gamerule by Enecske is verified for Fabric, Quilt across Minecraft versions 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1 (latest release: 2.1.2+26.1-26.3, file size: 69 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1) and platform (Fabric, Quilt).
- Make sure you have the compatible loader or environment installed for Fabric, Quilt.
- Move the downloaded Mob Explosion Griefing Gamerule file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add VersionMOB type explosions without a sourceAfter updating a world, **all gamerules will be reset to default**! You need to reconfigure them manually!
- Added
doorBreakingGriefingandstepAndDestroyGoalgamerules - Updated gamerule logic:
mobGriefinggamerule now behaves exactly like vanilla
- Added 3 new gamerules:
creeperGriefingghastGriefingendermanGriefing- Reworked gamerule logic
- The updated instructions can be read in the mod's description