Minecraft Data Packs / Tool

Sentinel Maker - Silvathor

  • check_circle Functions
  • 1,620 views, 75 today
  • 78 downloads, 0 today
  • 24
  • 15
  • 1
Silvathor avatar Silvathor
Level 51 : Grandmaster Button Pusher
76
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.13
toMinecraft 1.17 Snapshot
Tags

2
02/23/2021 6:15 am
Level 58 : Grandmaster Kitten
FunkyToc
FunkyToc avatar
Super usefull, I have to use this !
Planet Minecraft Logo

Website

© 2010 - 2021
www.planetminecraft.com

Welcome