This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I have a game turf wars with two teams red and blue.
The question is how do i make it so when i shoot an arrow off of a bow, it gives players who shot the bow from the red or blue team the tag "RED" or Tag "BLUE"?
I'm assuming you want to add the tag to the arrow.
Try execute as @a[team=RED] at @s execute as @e[type=arrow,distance=#] run data merge entity @s {Tags["RED"]}
YouTube: https://www.youtube.com/channel/UCzGDRYWcrGreMmQFo_d5N5Q
Facebook:https://goo.gl/s0r12d
Website:https://theusaf.weebly.com
JavaScript Projects: https://theusaf.github.io
Link Shortener: https://shortr.github.io
Twitter:https://www.twitter.com/theusafyt
I have a game turf wars with two teams red and blue.
The question is how do i make it so when i shoot an arrow off of a bow, it gives players who shot the bow from the red or blue team the tag "RED" or Tag "BLUE"?
I'm assuming you want to add the tag to the arrow.
Try execute as @a[team=RED] at @s execute as @e[type=arrow,distance=#] run data merge entity @s {Tags["RED"]}
YouTube: https://www.youtube.com/channel/UCzGDRYWcrGreMmQFo_d5N5Q
Facebook:https://goo.gl/s0r12d
Website:https://theusaf.weebly.com
JavaScript Projects: https://theusaf.github.io
Link Shortener: https://shortr.github.io
Twitter:https://www.twitter.com/theusafyt