All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Mob Explosion Griefing Gamerule

Mob Explosion Griefing Gamerule

by Enecske • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

MobExplosionGriefingGamerule

Environment

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_griefing off, Creepers will not destroy blocks when exploding.
  • By turning mob_explosion_griefing:ghast_griefing off, Ghasts will not destroy blocks when shooting Fireballs. They won't light fires either.
  • By turning mob_explosion_griefing:wither_griefing off, 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_griefing off, Endermen will not pick up or place blocks.
  • By turning mob_explosion_griefing:door_breaking_griefing off, mobs will not be able to break doors, no matter the difficulty.
  • By turning mob_explosion_griefing:step_and_destroy_goal off, 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.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3 26.2 26.1.x
Fabric Quilt
19h ago 1
26.2 26.1.x
Fabric Quilt
19h ago 1
1.20.x
Fabric Quilt
19h ago 1
26.1.x
Fabric Quilt
19h ago 1
1.21.11
Fabric Quilt
19h ago 1
1.21.x
Fabric Quilt
19h ago 1
1.21.x
Fabric Quilt
19h ago 1
1.21.x
Fabric Quilt
19h ago 1
1.21.x
Fabric Quilt
19h ago 1
1.21.x
Fabric Quilt
19h ago 1
1.21.x
Fabric Quilt
19h ago 1
1.21.3
Fabric Quilt
19h ago 1
1.21.x
Fabric Quilt
19h ago 1
1.20.x
Fabric Quilt
19h ago 1
1.20.x
Fabric Quilt
19h ago 1
1.16.x
Fabric
19h ago 1
1.17.x
Fabric
19h ago 1
1.18.x
Fabric
19h ago 1
1.20.x
Fabric Quilt
19h ago 1
1.19.x
Fabric
19h ago 1
1.19.x
Fabric
19h ago 1
Fixed bug with crashes caused by MOB type explosions without a source
Rewritten the gamerules to use Minecraft's new Registry-based system.

After updating a world, **all gamerules will be reset to default**! You need to reconfigure them manually!
  • Added doorBreakingGriefing and stepAndDestroyGoal gamerules
  • Updated gamerule logic: mobGriefing gamerule now behaves exactly like vanilla
  • Added 3 new gamerules:
  • creeperGriefing
  • ghastGriefing
  • endermanGriefing
  • Reworked gamerule logic
  • The updated instructions can be read in the mod's description

Mob Explosion Griefing Gamerule Icon
Download Mob Explosion Griefing Gamerule
Select game version
Select platform