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

Started by HollowVoidGojo on Tue, 09/20/2022 - 02:34

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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make a ability that swaps a player's position with another player's
Tue, 09/20/2022 - 02:34

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?