How do I make a ability that swaps a player's position with another player's

Started by HollowVoidGojo on

Topic category: Help with modding (Java Edition)

Last seen on 02:09, 26. Sep 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a ability that swaps a player's position with another player's

I am making a mod where there are custom abilities. 
one of the abilities are ender man and its special is swapping your position with an another player you are looking at. 

How do I do this?