Teleporting called players between dimensions/locations

Started by JulyTheNeon on

Topic category: Help with modding (Java Edition)

Last seen on 17:32, 27. Jun 2021
Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Teleporting called players between dimensions/locations
Wed, 05/19/2021 - 04:37 (edited)

Right so, im creating a mod specifically designed to mess with someone ill be playing with, all relient on commands and stuff only I can execute.  One of these commands, teleporting a specific player of my choosing to where i am, both in location in dimention, is frustrating...because i dont know how to set *them* as the target entity.  once i get how to do that, id be completely set for that and a few other sneaky commands, but im completely stuck until then.  

the way i have it rn is i put their username into a command parameter, but then its stuck as that type.  Any ideas?

 

(should mention btw im using the 1.12.2 plugin, due to that being the version of the modpack we're playing)

Edited by JulyTheNeon on Wed, 05/19/2021 - 04:37
Last seen on 18:27, 23. May 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Are you considering vanilla…
Thu, 05/09/2024 - 02:05

Are you considering vanilla dimensions such as the Nether or End? If so, there could be a way to do this: 

  1. Create a new structure that includes a nether portal. 
  2. Next, hide that structure underground, or far from where you will likely be playing. 
  3. Have the command temporarily set the tick speed to it's max, teleport the player into the Nether portal, return the tick speed to normal, then teleport the player to your desired location. 

You could also use that method for the End, but it could be more complicated for modded dimensions.