I am working on an MC map, and I would like to have a /tellraw command, but I want it to be triggered by walking on a certain area. Is that possible? If so, can you help me on how to do it?
You just use a repeating command block and then chain command blocks after that, but if you are using 1.8 try looking up "fill clock", and if you are using 1.8 the last part will not work because tags got added in 1.9
I am working on an MC map, and I would like to have a /tellraw command, but I want it to be triggered by walking on a certain area. Is that possible? If so, can you help me on how to do it?
You could use this: (run on a clock)
/tellraw @a[x=?,y=?,z=?,r=?] {"Tellraw data"}
or
/tellraw @a[x=?,y=?,z=?,dx=?,dy=?,dz=?] {"Tellraw data"}
If you only want it to activate once per player do: (run on clock in order)
1:/tellraw @a[x=?,y=?,z=?,r=?,tag=!ToldText] {"Tellraw data"}
2:/scoreboard players tag @a[x=?,y=?,z=?,r=?,tag=!ToldText] add ToldText
or
1:/tellraw @a[x=?,y=?,z=?,dx=?,dy=?,dz=?,tag=!ToldText] {"Tellraw data"}
2:/scoreboard players tag @a[x=?,y=?,z=?,dx=?,dy=?,dz=?,tag=!ToldText]add ToldText
My recent creation
- Apocalyptic Disasters - Command block mod
My best Minigame
- Hangman
My best one command creation
- 1.9 Jetpack in minecraft
Alright, so how do I make the clock you are talking about?
You just use a repeating command block and then chain command blocks after that, but if you are using 1.8 try looking up "fill clock", and if you are using 1.8 the last part will not work because tags got added in 1.9
My recent creation
- Apocalyptic Disasters - Command block mod
My best Minigame
- Hangman
My best one command creation
- 1.9 Jetpack in minecraft