I have set up a clock to a test for command but i want that command to go to a tp command over and over like a clock, what do i put there? (Its teleporting the players head to keep forcing it to look at a spot)
9
Aw man i messed up and put in wrong coords thanks so much guys! Derp
*hopper clock
I am using a hopper block and the command block is 2 blocks away is this fine?
In that case, you do have the correct command. When I copied it myself, it worked perfectly.
Double check that the coordinates are correct, and double check your clock. I'd suggest using a fill clock. If you're using a comparator clock, make sure that the command block is far enough away from the comparator, and that it's actually being activated.
Double check that the coordinates are correct, and double check your clock. I'd suggest using a fill clock. If you're using a comparator clock, make sure that the command block is far enough away from the comparator, and that it's actually being activated.
i am tying to keep having the player be teleported looking downwards but it is not working i have a clock>redstone to tp commandblock but it still doesn't work
Put a comparator clock coming out of the testfor? Like Jmal said, what are you trying to do?
What exactly is it you're trying to achieve? I copy/pasted your command into a command block myself, and it seemed to work fine. When I put it on a fill clock, I was forced to look at the ground whenever I got close to the block at 270 21 526. If that is what you want, try checking that your coordinates are correct.
thank you but it's still not working
/tp @a[x=270,y=21,z=526,r=4] ~ ~ ~ 0 90
am i missing something?
/tp @a[x=270,y=21,z=526,r=4] ~ ~ ~ 0 90
am i missing something?
Since you want the command to repeatedly run, I would actually suggest skipping the testfor all together. For example, if you were to do something like this:
If you put that tp command on the clock, you can teleport the player only if they would meet the conditions they would have to meet for a testfor.
testfor @a[x,y,z,r,score_obj=#]you could instead target the same player in the /tp command. Just use the same information in the brackets so that you target the same player:tp @a[x,y,z,r,score_obj=#] x y zIf you put that tp command on the clock, you can teleport the player only if they would meet the conditions they would have to meet for a testfor.
