Minecraft / Mods

Disable Hostile Grief [Data Pack]

  • 3
  • 3
  • playlist_add
  • share
  • more_horiz
avatar Tetrajak
Level 34 : Artisan Modder
This data pack was created to allow Villagers to harvest crops, and Snow Golems to place snow layers, while also retaining the desirable features of gamerule mobGriefing = false. Note that this data pack sets the mobGriefing gamerule to true.

This data pack disables block destruction done by the following hostile mobs;
  • Creeper
  • Enderman
  • Ghast
This data pack also prevents the following hostile mobs from picking up items;
  • Zombie
  • Drowned
  • Husk
  • Zombie Pigman
  • Zombie Villager
  • Skeleton
  • Stray
Other hostile mobs that destroy blocks, such as the Wither Boss (and its flying skulls), and Ender Dragon do not have their explosion or block destruction abilities stored in their entity data, so they cannot (currently) have their griefing disabled via data pack in a way that does not have other undesirable effects.

More information about data packs and how to use them can be found on the official Minecraft Wiki.
Progress100% complete
Game VersionMinecraft 1.13

2 Update Logs

Version 6 : 12/01/2018 1:33:32 pmDec 1st

  • Moved entity tagging commands to a separate function to run only once every second, rather than every tick.
  • Changed ghast fireball explosion reduction to target ghasts instead of trying to snag fireballs out of the air.

Comments : 0

star Login or register to post a comment.




© 2010 - 2018