how to teleport to the location youre facing if it's even possible?

Started by qym on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to teleport to the location youre facing if it's even possible?

How do i make it so that i teleport to the location I am looking at.i don't care what the trigger is whether its an item or a keybind I just wanna know how to do the procedures. If it's possible please tell me

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Assuming all the dependecies…
Mon, 03/14/2022 - 10:52

Assuming all the dependecies are provided you could do something like this,

dsdff

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I actually needed some help…
Mon, 03/14/2022 - 10:54

I actually needed some help to figure this one out myself, for some reason the ~ and ^ are actually sepperate things when it comes to commands, i think ~ is world And ^ is player? Anyways...  If You Do ^ ^ ^3 That Would Teleport You 3 blocks forward for example, or ^ ^ ^5 which would be 5 blocks, the full command would be /tp @p ^ ^ ^5 Though.

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
omg tyty
Mon, 03/14/2022 - 10:54

omg tyty

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it doesn't work for me, it…
Tue, 04/26/2022 - 17:29

it doesn't work for me, it teleport me in the void

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
update if found a new way
Tue, 04/26/2022 - 18:05

update if found a new way