#Help me fix a teleport forward command

1 messages · Page 1 of 1 (latest)

dark nexus
#

/execute facing entity BIGBOIBEEF eyes run tp @s ^ ^-1 ^2
fix to tp with the direction im facing
this is my current command, but it telelports me in one of the axises, is it possible to make it go 1 block forward the direction im facing and 2 blocks up

lavish shoal
#

with 2 tps I guess but because of direction it wouldnt be straight up

dark nexus
#

ok, how would i do it just forward? bc the think i dont know is the directional

lavish shoal
#

one of the ^ ^ ^ either the middle or the last one

#

I dont know the specifics, I dont use it much

ebon barn
#

^<left and right> ^<up and down> ^<forward and back>

lavish shoal
#

kano does

#

yeah there we go

ebon barn
#

If you're running that command as yourself, making you face yourself isn't going to produce the desired effect.

dark nexus
#

ye, its temp for later when i do as at

#

i just didnt write it out yet

ebon barn
#

ok

ebon barn
#

So right now your command goes 1 block down and two blocks forward

dark nexus
#

/tp @p ^ ^2 ^10 this is new one

#

thanks

ebon barn
#

You also make need to do rotated ~ 0 so that it doesn't consider your vertical rotation, which could make you teleport higher or lower than desired

#

But it depends on your usecase

dark nexus
#

how do i do rotated

ebon barn
#

execute rotated ... run tp ...

dark nexus
#

/execute as @a at @s rotated ~ 0 run tp @p ^ ^2 ^10
like this ya

#

ok ya

ebon barn
#

yep

#

Anything else?

dark nexus
#

na i think im good, might need something totally differnet but if i do ill do another one

ebon barn
#

OK, bot is down so I am closing this manually. If you need to reopen it just reply

dark nexus
#

k