Data Packs Other

Ashen's Better AI

  • 4.1k views 1 today
  • save_alt 316 downloads 1 today
Compatibility
Minecraft 1.21
Changes include
  • Advancements
  • Functions
  • Predicates
  • 14
  • 11
  • 17
AshenArrow
Lvl 38Artisan Crafter
13
Ashen's Better AI Minecraft Data Pack
Ashen's Better AI is a datapack focused on improving the vanilla game AI by allowing mobs to jump, sprint jump, throw items, hunt, and more.
Features:
Ashen's Better AI Minecraft Data Pack
Ashen's Better AI Minecraft Data Pack
All Land Mobs
All land mobs can now jump, look above for a demonstration

Zombies

Zombies can build up to the player if they are holding any color of wool or dirt in their hand.

Zombies will hunt and attack sheep, pigs, chickens, cows, and wolves.

Zombies will eat any dropped meat items on the ground to regain lost health.

Zombies will destroy blocks minable with an axe if they are holding an axe.

Zombies will destroy blocks minable with a pickaxe if they are holding a pickaxe.

Zombies will attack and kill other zombies that have less than 7 health, then eat the rotten flesh dropped by the killed zombie to heal themselves.

Zombies will throw logs, stripped logs, cobblestone, and cobbled deepslate they are holding as projectiles at the player.

Zombies can swim in water (i.e., will move through water without drowning or stopping).

Zombies can sprint and jump to cross gaps or obstacles.


Phantoms
Phantoms will spawn with a random size.
Undead mobs will hunt phantoms.

Spiders
Spiders can throw spider webs at the player.
Spiders will hunt silverfish.

Skeletons
Skeletons will hunt spiders and cave spiders.
Skeletons will back away from the player while it is shooting.

Wolf
Wolf will hunt chickens, cows, and pigs.

Squids
Squids will hunt salmon and cod.

Dolphins
Dolphins will hunt squids.
Dolphins will attack the player when hit.


Polar Bears
Polar Bears will hunt skeleton, strays, husks, and zombies.

Hoglins
Hoglins will hunt striders.

Cave Spiders
Cave Spiders will hunt silverfish.

Foxes
Foxes will hunt silverfish.



License:
All Rights Reserved

If you have any questions, please ask below. Thank you for downloading Ashen's Better AI!

1 Update Logs

Version 1.1 : by AshenArrow 08/03/2025 7:18:16 pmAugust 3, 2025 @ 11:18 pm UTC

This update addresses several bugs that impacted performance and mob behavior, including issues with mobs dying unexpectedly and zombies not eating properly. Spiders will now have a delay before shooting out a cobweb, making the fight more fair. Swimming mechanics for zombies have been improved, and skeletons and pillagers now maintain distance from players as intended.


New enhancements bring more dynamic zombie behavior with sprinting and sprint jumping. Zombies are also now attracted to food and will compete with each other over it, adding new depth to their interactions.

More like this

  Have something to say?

User6205719D
01/08/2026 10:51 am
Level 1 : New Miner
are the features configurable?
1
BunnieCrafts
09/16/2025 1:45 pm
Level 1 : New Miner
Add a config file for people to disable the farm animals taking damage thing. It keeps killing off my fam animals and i also have a blood and gore mod installed and theres blood everywhere just from me walking near them.
2
Skoolby
09/23/2024 10:45 pm
She/They • Level 1 : New Explorer
This mod slowly kills farm animals around me, not sure why but whenever I get close to animals they take damage.
1
AshenArrow
09/24/2024 7:50 am
He/Him • Level 38 : Artisan Crafter
That was to make mobs run away from the player when you get near them. They are not meant to be slowly dying, must of forgot to give them instant health after they take damage.
1
tbdtt
09/22/2024 2:46 am
Level 1 : New Miner
I think there are 2 areas for improvement in this datapack:
1. Performance issues
2. The hunting mechanism will cause the mobs to suffer 1 damage, which should be 0 damage. Or try using a team approach?
At the same time, I want the mob to be able to use critical strikes as long as the mob is in the air when attacking, and to disable it when the mob has Blindness. And make mobs jump more often to crit.
2
tbdtt
09/26/2024 7:47 am
Level 1 : New Miner
In addition, there are the following points that I think need to be improved:
1. Zombies seem to be unable to eat meat, and the distance they can throw stones is also very short.
2. Spiders will continue to lay spider webs when attacking, but they should not be so frequent. What I want more is to actually throw spider webs (throwing spider webs at the player as a projectile).
3. Skeletons will stop shooting arrows when the player gets close to them. The skeleton's "Skeletons will back away from the player while it is shooting." should be removed because vanilla already has this function.
4. The phantom will send a log every time it is generated, which is unnecessary.
1
AshenArrow
09/26/2024 8:30 am
He/Him • Level 38 : Artisan Crafter
I realized my mistake with skeletons after I published it, and phantoms send a log every time they are generated due to them getting a random size for variety.
1
AshenArrow
09/22/2024 4:35 pm
He/Him • Level 38 : Artisan Crafter
history
I unfortunately can not remove the mobs from taking damage, it is the only way to make mobs to attack each other. And I might be able to make mobs doing critical attacks. Thank you for commenting.
1
tbdtt
09/26/2024 7:37 am
Level 1 : New Miner
Then this may require the mob to only take 0 damage when injured, and there are also performance issues. This is really too serious. If this problem cannot be solved, I may never install this datapack again.
1
AshenArrow
09/26/2024 8:31 am
He/Him • Level 38 : Artisan Crafter
That is not possible, but I am planning to give the mobs instant health after they take damage.
1

Welcome