Data Packs Tool

Sentinel Maker - Silvathor

  • Functions
  • 19,240 views • 4 today
  • 1,380 downloads • 1 today
  • 94
  • 85
  • 27
Silvathor
Level 62 : High Grandmaster Button Pusher
193
Today it's infiltration! The datapack of the day allows you to program soldier patrols and moving platform paths in Minecraft.


Maker mode:


Add you the tag sentinel.maker to use trigger.

/trigger balise.set set X   =   place a balise to rotate the sentinel entity to X° to the right
/trigger balise.set set 90  =   place a balise to rotate the sentinel entity to 90° to the right
/trigger balise.set set -90  =   place a balise to rotate the sentinel entity to 90° to the left


/trigger balise.kill     =    kill the nearest balise
/trigger balise.kill set 42  =    kill all the balises in 50 blocks radius





Sentinel Summon Exemple:
/summon minecraft:skeleton ~ ~ ~ {Rotation:[​0.0f,0.0f],NoAI:1b,Tags:["sentinel.entity"],HandItems:[{id:"minecraft:iron_sword",Count:1},{}],ArmorItems:[{},{},{},{id:"minecraft:chainmail_helmet",Count:1}]}

To make your sentinel work, it must have the following nbt: NoAI:1b,Tags:["sentinel.entity"]


To summon moving platform:
/summon minecraft:armor_stand ~ ~-0.5 ~ {Rotation:[​0.0f,0.0f],Tags:["sentinel.entity","sentinel.blindness","sentinel.NoGravity"],Invisible:true,Small:true,Marker:true,Passengers:[{id:"shulker",NoAI:1,Color:0b}]}



Config :

  • Display the configuration score
/scoreboard objectives setdisplay sidebar sentinel.config

  • Time for the sentinel to forget you
/scoreboard players set time.calm_down sentinel.config X (0 or more)

  • Time to spend in front of the sentinel to be spotted
/scoreboard players set time.spotted sentinel.config X (0 or more)

  • Set to 0 to disable gravity and 1 to enable it.
/scoreboard players set sentinel.gravity sentinel.config X (0 or 1)
You can also put the tag sentinel.NoGravity to your sentinel to remove the gravity from it.


Put the sentinel.blindness tag to your sentinel to disable player detection.

You can change function "sentinel:spotted" to change what the sentry should do when he sees a player.


YouTube : https://www.youtube.com/c/silvathor
Discord, to report bugs : https://discord.com/invite/GT2drck


CompatibilityMinecraft 1.16
toMinecraft 1.19
Tags

6 Update Logs

Update 1.19 : by Silvathor 07/03/2022 11:23:19 amJuly 3, 2022 @ 3:23 pm UTC

Update to 1.19
LOAD MORE LOGS

  Have something to say?

Atlas-SMP
08/26/2022 1:06 pm
Level 1 : New Network
Hey Silvathor ,


Playing around with a stealth map idea for the holiday season, something with saving Christmas and Santa, of course.




Was wondering if it would be okay with you if I use your data pack as the base for the patrol/guard mechanic.

Of course, credit where credit's due.



Hope to hear back from you!
2
Silvathor
10/18/2022 5:54 am
Level 62 : High Grandmaster Button Pusher
Yes of cours! No problem (sorry for the delay, I stopped mc so I don't think to verify pmc notify)
1
Pixel_Pluto
12/24/2021 3:46 pm
Level 11 : Journeyman Explorer
so, after i hide the sentinel just wanders is there a way it will go back to the path afterwards?
1
Silvathor
12/31/2021 8:17 am
Level 62 : High Grandmaster Button Pusher
history
No u need to kill it and /summon
1
Samisalkini
12/12/2021 3:23 pm
Level 1 : New Miner
I am facing some difficulties...
when i type Sentinel Summon Command i get a skeleton moving forward only, how do i make it go back and forth Or move in a square?
Note: i did the /trigger basile.set set 180 and i tried the 90 one too
i hope i can get some help
thanks
1
Silvathor
12/13/2021 2:15 pm
Level 62 : High Grandmaster Button Pusher
Version?
I just test and it work. So the problem aren't the datapack. Let's try to find what you did wrong ^^
1
Samisalkini
12/13/2021 3:38 pm
Level 1 : New Miner
No no its not the datapack problem, its my problem i dont know what should i edit in the command to make it move back and forth or in a square (the sentinel command) i want you please to tell me what to edit to do so.
and i am sorry if u mentioned that in the video i just cant understand french :D
thanks
1
Samisalkini
12/15/2021 6:54 am
Level 1 : New Miner
history
I think i figured the problem, but i want to ask something, can i make the guard a custom mob? And How can i make the mob hold custom weapon like in the video?
1
Silvathor
12/18/2021 5:32 am
Level 62 : High Grandmaster Button Pusher
> I think i figured the problem, but i want to ask something, can i make the guard a custom mob? And How can i make the mob hold custom weapon like in the video?

Just change the /summon and make your own custom weapon.

> No no its not the datapack problem, its my problem i dont know what should i edit in the command to make it move back and forth or in a square (the sentinel command) i want you please to tell me what to edit to do so.
and i am sorry if u mentioned that in the video i just cant understand french :D
thanks

Sorry I don't understand ^^' make balise with différent °
To do a square, make 4 balise of 90°.

To do a circle, make 1 balise of 360°
1
jusuff
12/12/2021 2:22 am
Level 1 : New Collective
cuando pongo una baliza me sale "aún no puedes activar este objetivo trigger" y tengo el tag
1

Welcome