Forumskeyboard_arrow_right Communities keyboard_arrow_right Redstone

Create Forum Thread
1

Make a trigger area [Re-Upload ols post]

1 emeralds1 reply35 views
created 07/17/2019 11:03 am by arKanSMC
last reply 07/17/2019 11:49 am
i want make a trigger area when player walk in it will execute command using armor stand

pls help me ;-;
Posted by avatar
arKanSMC
Level 21 : Expert Engineer
5

comment Login or register to post a reply.

1 reply

2
07/17/2019 11:49 am
Level 42 : Master Cowboy
CrazyCowMM
/execute at @e[type=armor_stand,tag=yourTag] if entity @a[distance=..5] run ...



distance=..5 can be replace by a number of your choice. The dots before mean that anything between this distance and 0 will count, if you put the dots after it means anything between this distance and as far away as the armor stand is loaded is counted. You can do a range by having two numbers with the dots between.

The ... after run is where you can but the command that you want to run

Planet Minecraft

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome