1

Command Block Help Needed

DomowithaRPG 12/11/12 11:08 pm
1.6k
12/13/2012 5:32 pm
I am working on a map but I have no idea of how to make a command block to teleport someone! If you could help me or even give me the command with all the stuff filled out that would be great! Here are the coordinates I want to teleport to with the command block:
x: -309
y: 2000
z: -413.45
f: 3

I would really appreciate some help!

Such a command block noob
Posted by
DomowithaRPG
Level 3 : Apprentice Explorer
14

  Have something to say?

JoinSign in

7

Kinorah
12/13/2012 9:08 am
Level 1 : New Miner
Does anyone know how to make the command block teleport anyone EXCEPT you? so you could safely press the button without being teleported but anyone else that pushes it will be tp'd?
1
DomowithaRPG
12/13/2012 5:32 pm
Level 3 : Apprentice Explorer
Make your own forum and ask that...
1
kobe887
12/13/2012 1:36 am
Level 20 : Expert Ninja
Wiki........
1
DomowithaRPG
12/13/2012 5:32 pm
Level 3 : Apprentice Explorer
Already checked wiki...didn't make much sense to me.
1
treble
12/12/2012 11:07 am
Level 1 : New Miner
if you cant place it, be in creative
1
Falconblade99
12/12/2012 5:26 am
Level 31 : Artisan Architect
Well first of all you need to type in 'tp' then you need to tell the command block who to teleport. There are a few parameters you can use. They are:
@a= all players
@p= closest player
@r= random player
You can also add more options after that like all players within 3 blocks etc.
So if you are going to make a player stand on a pressure plate or press a button your command would look like:
tp @p -309 2000 -413
But if your command block is not right where the player is then somebody else might get teleported. In that case you would need to specify where you want the command block to detect players. That can be done this way:
[x=5,y=10,z=15,r=3]
Putting that with no spaces after the @p/a/r will mean the command block will only look at players within 3 blocks of those cooridinates.
In case you didn't know 'f' is the direction the player is facing. I'm pretty sure that can't be changed in a command and that a player will always face the same way they were before.
1
DomowithaRPG
12/12/2012 11:07 pm
Level 3 : Apprentice Explorer
Thanks!
1

Welcome