Minecraft Data Packs / Quality of Life

Animal Herd (1.16.4/1.16.5 datapack)

  • check_circle Functions
  • 1,869 views, 46 today
  • 172 downloads, 2 today
  • 19
  • 18
  • 5
CubeDeveloper avatar CubeDeveloper
Level 51 : Grandmaster Blockhead
🔸Become a Patron: https://www.patreon.com/CubeDeveloper
🔹My minecraft server: (MC version: 1.16.4)
🎮 My discord server: https://discord.gg/rcTtS3d

WARNING: If you are having trouble installing this datapack make sure you read the "how to install" .txt file you can find inside of the downloadable .zip file.

This simple datapack changes animal behaviour, in vanilla minecraft hitting an animal won't alert nearby mobs of the danger, which makes hunting extremely easy and a bit boring in my opinion. This datapack allows animals to "alert" nearby entities of the danger, they will flee from you for a couple of seconds.
CompatibilityMinecraft 1.16

1 Update Logs

AnimalHerd update #1 : 02/11/2021 10:09:20 amFeb 11th

This small updates adds a couple of new functions and
makes the datapack a lot more efficient.

- villagers do not flee when you attack an animal anymore.

02/12/2021 6:46 pm
Level 1 : New Miner
SnowPathy avatar
02/13/2021 4:14 am
Level 51 : Grandmaster Blockhead
CubeDeveloper avatar
Heck yeah I did c:
02/11/2021 3:41 pmhistory
Level 40 : Master Engineer
UncleThaodan avatar
If you remove the AnimalHerd folder so that data and pack.mcmeta are in the top-level of the zip folder it can be installed much easier by just dropping the .zip in the datapack folder.

To make it quite a bit more efficient, try to reduce the number of @e selectors as much as possible (for example lines 3&4 of the main function use the same selector as line 2, same with lines 4-6 of setup) and using the player_hurt_entity advancement-trigger so you only check when an entity was actually hit.

All in all, nice datapack.
02/12/2021 1:44 am
Level 51 : Grandmaster Blockhead
CubeDeveloper avatar
There is a reason why I'm using a folder to store the datapack instead of putting the files directly into the .zip file, sometimes planet minecraft changes the .zip file name by adding a random number or code at the end, and since I also added a delete function that disables the datapack I need to know the correct name of the pack, so using a folder is the more consistent method, even tho it requires another step to install. As for all the other optimization tips, I will probably implement them with updates, this is just the first version of the pack to showcase the concept, I know it's not the most efficient pack in the world
02/12/2021 4:03 amhistory
Level 40 : Master Engineer
UncleThaodan avatar
That could be resolved by using an external host like dropbox, but yea, windows will still add "(1)" at will when downloading
Planet Minecraft Logo


© 2010 - 2021