Minecraft Data Packs / Game Mechanic

All Hostile Mobs Look At You

  • check_circle Functions
  • 1,499 views, 2 today
  • 36 downloads, 0 today
  • 6
  • 0
  • 13
memerminecraft's Avatar memerminecraft
Level 54 : Grandmaster Miner
67
I made this data pack for the linked video, it's not really intended for use otherwise.

This is a very simple data pack that causes all hostile mobs to look at you (excluding the Ender Dragon). This means that they have trouble moving at all.

However, you can give a mob the tag "ignore_alpha" and this data pack will not affect it.
The command to summon a creeper at your location with this tag would be: /summon creeper ~ ~ ~ {Tags:["ignore_alpha"]}
CompatibilityMinecraft 1.17
toMinecraft 1.19
Tags

Create an account or sign in to comment.

Kanaky375
09/16/2022 10:22 am
Level 1 : New Miner
Kanaky375's Avatar
scary! and useful.
1
kohara_
09/05/2022 3:58 pm
Level 62 : High Grandmaster Dragonborn
kohara_'s Avatar
this is so oddly terrifying
4
Kate1902019
09/05/2022 3:28 am
Level 37 : Artisan Princess
Kate1902019's Avatar
Can you do that the same with iron golems and zombified piglins?
Because they are cheaters! Attacks the Player when they accidently hit or killed them & attack in a group, do so much damage and walk faster than a zombie!(BLAME MOJANG!!!!!)
3
memerminecraft
09/06/2022 12:49 am
Level 54 : Grandmaster Miner
memerminecraft's Avatar
You can do this yourself fairly easily. If you extract the datapack you can easily enter it yourself.
In the .minecraft folder, go to datapacks > All Hostile Mobs Look At You > data > minecraft > tags > entity_types > hostile.json
Once you get there, you can change the mobs in the list to pretty much anything you want. Be sure to save before you exit, then type /reload in the Minecraft world you're running it on.
3
Kate1902019
09/06/2022 1:07 am
Level 37 : Artisan Princess
Kate1902019's Avatar
Ok.
2
kohara_
09/05/2022 3:59 pm
Level 62 : High Grandmaster Dragonborn
kohara_'s Avatar
O O O!

Maybe make them look at you AFTER you attack them

Like imagine just accidentaly hitting a Zombified Piglin and all of them just look at you like that...
3
Kate1902019
09/06/2022 1:08 am
Level 37 : Artisan Princess
Kate1902019's Avatar
And not running towards Players?

That's good. So those nether cheaters ain't going to cheat and attack in a group! They stays act some kind of torches fire particles or barrier blocks.
2
memerminecraft
09/06/2022 12:45 am
Level 54 : Grandmaster Miner
memerminecraft's Avatar
Not sure how I would do it so that they're specifically mad after being attacked, but it would be interesting to attempt.
3
kohara_
09/06/2022 9:57 am
Level 62 : High Grandmaster Dragonborn
kohara_'s Avatar
i think it can be easliy done with an advancement for hurting a zombie piglin and setting a timer, and during the time it is over 0, piglins just give you a creepy stare
agression can be prevented by putting all zombie piglins and players in the same /team
1
memerminecraft
09/06/2022 3:10 pm
Level 54 : Grandmaster Miner
memerminecraft's Avatar
Oh, I haven't had experience with making custom advancements for data packs yet.
2
kohara_
09/07/2022 9:47 am
Level 62 : High Grandmaster Dragonborn
kohara_'s Avatar
you can use https://misode.github.io/ for a generator for this one

just make a file, enter criteria and a function reward, and everything will be ok!
2
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome