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

Started by HollowVoidGojo on

Topic category: Help with Minecraft modding (Java Edition)

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?