I want to make teleport ability

Started by Steakpiper on

Topic category: Help with modding (Java Edition)

Last seen on 12:06, 20. Feb 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I want to make teleport ability
Mon, 01/31/2022 - 11:59 (edited)

I want to teleport to the back of the mobs in 10 blocks based on me when I hold a sword and right click to create the ability to put damage. And if there is more than one mob in 10 blocks, I do it 6 times. Please show me the trigger with screenshot not only talking

Edited by Steakpiper on Mon, 01/31/2022 - 11:59
Last seen on 12:02, 20. Mar 2024
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Unfortunately the screenshot…
Tue, 02/01/2022 - 00:11

Unfortunately the screenshot failed to send, but I hope this brief written explanation can still be of use?

In a when right clicked on block / in air procedure, drag an "execute command /_____ [x] [y] [z]" block into the procedure.

Set the command to "execute at @e[distance=..10] run tp @s ~ ~3 ~"

This will teleport you three blocks ABOVE the mob, but it is close enough hopefully? Sorry I couldn't be of more help

Last seen on 12:06, 20. Feb 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you for answering! If…
Tue, 02/01/2022 - 03:37

Thank you for answering! If you use imgur, you can take a screenshot.