Started by
qym
on
Topic category: Help with Minecraft modding (Java Edition)
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
Assuming all the dependecies are provided you could do something like this,
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.
omg tyty
it doesn't work for me, it teleport me in the void
update if found a new way