Minecraft Data Packs / Mob

Disable Hostile Grief - 1.15

  • check_circle Functions
  • 15,803 views, 1 today
  • 1,459 downloads, 0 today
  • 26
  • 26
  • 45
Deprecated's Avatar Deprecated
Level 76 : Legendary Modder
336
This data pack will no longer be maintained, as it has been superseded by the Disable Hostile Grief data pack collection.

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
  • Ender Dragon
  • Wither (but not its skull projectiles, or the initial explosion it has)
This data pack also prevents the following hostile mobs from picking up items;
  • Zombie
  • Drowned
  • Husk
  • Zombie Pigman
  • Zombie Villager
  • Skeleton
  • Stray
By default, all of the above listed griefing is prevented. If you'd like to change that, you can find the configuration file at "data\dhg\functions\config.mcfunction" within the zip file of Version 10+ of the data pack. Please note that due to the way Enderman, Ender Dragon, and Wither grief prevention works, it cannot be disabled/enabled in the same manner, and therefore Enderman, Ender Dragon, and Wither griefing will always be prevented while the data pack is enabled.

More information about data packs and how to use them can be found on the official Minecraft Wiki.
CompatibilityMinecraft 1.15
Tags

11 Update Logs

Version 15 : by Deprecated 12/10/2019 1:01:28 pmDec 10th, 2019

Changes
  • Updated to 1.15.
  • Added new blocks to wither immune and dragon immune block tags.

Bugs Fixed
  • Scheduling function management library schedules all functions from data packs it manages to run on the same tick.
LOAD MORE LOGS

Create an account or sign in to comment.

1
09/21/2020 1:59 pm
Level 1 : New Miner
MythGate
MythGate's Avatar
Could you add an anti ravager grief to this? that would be awesome
1
09/21/2020 3:37 pm
Level 76 : Legendary Modder
Deprecated
Deprecated's Avatar
I can't think of any way to do so that isn't going to slow down your game and leave the doMobGriefing gamerule false for extended periods of time, but I'll give it some thought and see if I can come up with a better idea. No promises though.
1
04/14/2020 4:57 pm
Level 1 : New Miner
User2935977G
User2935977G's Avatar
Is there a discord? I would like to be up-to date, be able to report bugs and suggest ideas!
1
04/15/2020 12:13 am
Level 76 : Legendary Modder
Deprecated
Deprecated's Avatar
Well, since you asked, I've gone ahead and created one that you're welcome to join; https://discord.gg/b3chpbS
1
04/06/2020 8:17 am
Level 1 : New Miner
Raadon
Raadon's Avatar
Hello!

Im using last version of this pack on an official 1.15.2 realm and having this issue:

Whenever me or a friend enters the nether, game there starts freezing until you cant barely move or eat, and nether portal stops working, not letting you come back to overworld again. Only happens on nether, if a player is on nether and other on the overworld, only the nether one struggles.
If I disable the pack before going into the nether, everything is perfect.
I personally think it has something to do with ghasts, usually problems appear by the time you 1st notice Ghast's sounds..

Cheers and thanks for the pack^^
1
04/06/2020 4:40 pm
Level 76 : Legendary Modder
Deprecated
Deprecated's Avatar
Realms doesn't support all data pack functionality, so you may not be able to use it on a Realm. It does, however, work on normal Minecraft Java servers, so you could migrate your world to a different host to be able to use data packs without issues and not lose your progress and builds.
1
04/07/2020 8:26 am
Level 1 : New Miner
Raadon
Raadon's Avatar
Hello!
They actually work fine in realms as far as i've tried, the only rule is to not have a lenght of +100 caracteres on folders and subfolders route.
Whatever, I've been using the same 4 packs (this one, your Anvil Mending one, a treecapitator one and the silk touch spawner one all 1.14 without problems, but when we changed to 1.15 this problem appeared..
I've tested it and it doesnt happen if you spawn ghasts on the overworld, so it has to be something nether related.. I will test disabling on the config file the one for ghasts, and check it.. Have you tested it in any way? If it generates lag on nether on 1.15.2?
Thanks for the reply and for the great packs!
1
04/07/2020 3:00 pm
Level 76 : Legendary Modder
Deprecated
Deprecated's Avatar
When you upgraded your realm to 1.15, did you also upgrade the data pack?
1
10/24/2019 12:27 am
Level 30 : Artisan Architect
NeptunesOrcaII
NeptunesOrcaII's Avatar
Do creepers still cause damage to players?
1
10/24/2019 4:48 pm
Level 76 : Legendary Modder
Deprecated
Deprecated's Avatar
Yes, creepers still damage entities (including players) when they explode!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome