Minecraft Blogs / Tutorial

how to make a turret with commands bedrock

  • 1,968 views, 4 today
  • 1
  • 0
LVNARESENCE's Avatar LVNARESENCE
Level 23 : Expert Crafter
0
hey this is how to make a turret in Minecraft. maybe to protect a base or something. but anyway lets get strait into the tutorial



(i made a video if you want to watch instead of read)



yt vid: https://www.youtube.com/watch?v=DHfuWxYVUGo



so first you need to place a armour stand.



then the first command you want to do is "/tag @e[​type=armour_stand] add look"



you want to do that last command in chat btw



then you want to place a command block and set it to repeat and always active



then this is the command you want to put in it



/execute @e[​tag=look] ~ ~ ~ tp ~ ~ ~ facing @p true




then once you have done that you want to place another command block in front of that last once and set it to chain then put this command in it


/execute @e[​tag=look] ~1 ~1 ~ summon minecraft:arrow ~ ~ ~



(you also are going to want to put a 20 tick delay on it)



then put another command block Infront of that last one also make it chain and always active then put this command in it


/tag @e[​type=arrow] add ammo

then you want to place another command block but this one farther away then the others so dont let this one touch the others

and make it a repeat and always active then put this command in it



/execute @e[​tag=ammo] ~ ~ ~ tp @p[​r=20]




(then put a 3 tick delay on that one)


then once you have done that put a chain command block like before always active as well and put this command in it

/kill @e[​tag=ammo]




(then put a 50 tick delay on the last command block)



i hope this tutorial helped you maybe making a castle and you need a archer or maybe keeping valuables safe on a command block allowed survival and check my video out if you didnt understand my post lol
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome