Minecraft Data Packs / Mob

Stationed Guards

  • check_circle Functions
  • 7,072 views, 2 today
  • 682 downloads, 0 today
  • 26
  • 23
  • 18
Oriooon's Avatar Oriooon
Level 42 : Master Whale
28
Assign a mob to guard an area mostly from players.

Type "/function stationedguard:uninstall" to uninstall datapack from your world.

" /datapack enable "file/stationedguard" " to reinstall datapack to your world.



How to use datapack:

1. Prepare a nametag renamed as "guard"
2. Lure a mob to its station
3. Use nametag on mob
4. Customize the guard (Optional)

5. Configure its setting (Optional)
6. Rename the guard to avoid it despawning.

Type "/trigger setting" to turn setting on. Use the same command to turn setting off.
Get near the guard to display its setting. You cannot configure guards you do not own.


Mobs that can become guards:
    
- Drowned
- Evoker
- Husk
- Piglin Brute
- Piglin
- Pillager
- Skeleton
- Stray
- Vindicator
- Witch
- Wither Skeleton
- Zombie
- Zombie Villager

- Iron Golem



Unique Guard Features:

- The guard is customizable. You can equip it with armor and weapons, or apply potion effects.
- It will remain standing on one block if no enemy within its area
- It will pathfind to its station if...
  - no enemy found within its area
  - it is outside its boundary
- It will not occupy other guard's station no matter their distance.
- It will not attack the enemy if the owner, in survival, is also within its area.
CompatibilityMinecraft 1.17
toMinecraft 1.18
Tags

Create an account or sign in to comment.

cloudyloaf
11/23/2021 10:50 pm
Level 1 : New Miner
cloudyloaf's Avatar
Hi, is there a way to let your friends have access to also be the owner of the mob?
1
cloudyloaf
11/23/2021 10:51 pm
Level 1 : New Miner
cloudyloaf's Avatar
edit: forgot that there was another comment like this. thanks
1
Buster895
11/19/2021 6:42 am
Level 1 : New Miner
Buster895's Avatar
To those who are wandering how to modify mobs stuff here is the command " /item replace entity @e[type=husk] weapon.mainhand with iron_sword "

Replace the [type= to any mob you want to modify. and the weapon.mainhand to anything that shows up.
1
Roguelikepaladin21
10/05/2021 12:02 pm
Level 1 : New Crafter
Roguelikepaladin21's Avatar
could this be combine with teams of some kind? like ranks?
1
RabidCello
09/24/2021 3:49 pm
Level 1 : New Miner
RabidCello's Avatar
Is there any way to make the guards attack custom or modded mobs?
1
User3717915F
07/19/2021 9:26 am
Level 1 : New Miner
User3717915F's Avatar
Datapack not work :(
2
GiantPenguin2
09/11/2021 7:07 pm
Level 1 : New Miner
GiantPenguin2's Avatar
if it works you just need to extract it and re-compress it well
1
MrIlluminati
07/08/2021 7:33 pm
Level 1 : New Miner
history
MrIlluminati's Avatar
Would there be any way to make it so only iron golems had this effect. That way it would make more sense in a vanilla feeling server, (if it's not to much of a hassle could I please have a seperate download link to this version)



Thanks a bunch!
3
rykea
07/04/2021 8:44 am
Level 53 : Grandmaster Vampire
history
rykea's Avatar
is there a way to whitelist specific players if on a multiplayer server?
1
Oriooon
07/06/2021 8:27 pm
Level 42 : Master Whale
Oriooon's Avatar
No, you can't. The only way to prevent the guard from attacking your friend is to stay close with them in survival.
2
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome