How can I make a item that teleports you in the direction you are facing with procedures?

Started by DTGamer on

Topic category: Help with modding (Java Edition)

Last seen on 22:34, 2. May 2022
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make a item that teleports you in the direction you are facing with procedures?

I'm trying to create and item that when you right click you teleport 5 blocks in the direction you are. How Can I do this with procedures?

To Hypixel Skyblock Players: I want it to work JUST like the Aspect of The End Sword's special ability.

Last seen on 22:34, 2. May 2022
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Note: I'm working on this…
Thu, 04/14/2022 - 18:16

Note: I'm working on this now, and I might have found a way to do it. I'll let you know if I figure it out.

 

Last seen on 22:34, 2. May 2022
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update: I've figured it all…
Thu, 04/14/2022 - 18:41

Update: I've figured it all out!

 

Last seen on 16:35, 3. Mar 2023
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait how did you do it? im…
Thu, 08/11/2022 - 05:00

Wait how did you do it? im trying to do the same thing but I cant figure it out

 

Last seen on 04:41, 26. Apr 2024
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
using procedure blocks …
Thu, 08/11/2022 - 08:07

using procedure blocks . coordinate position entity is looking at with ray trace.

teleport entity at x coordinate position entity is looking at with ray trace,y coordinate position entity is looking at with ray trace.

z coordinate position entity is looking at with ray trace.. only targets integer values tho,