Teleporting with A GUI

Started by AkihitoMidas on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Teleporting with A GUI

I'm trying to make a procedure and gui that allows the player to input a dimension and coordinates with a button that when clicked teleports the player to the dimension and coordinates they input, I've tried multiple times to get something even similar to this to function but all attempts have failed so far

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do something like, if item…
Thu, 12/14/2023 - 20:31

Do something like, if item in slot , / Button pressed, do, change dimension of event target to ____. Make text inputs that have the text set to variables, and set the player location to those varibles. 

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
my problem is the dimension…
Fri, 12/15/2023 - 03:38

my problem is the dimension part, the coordinates are fine, I can get those, but I need an input for the dimension because this needs to support dimensions from other mods, so I can't just use the change dimension of event/target entity, it would have to take these inputs and form a command with them, getting the inputs into a command is the main struggle right now, but also it seems that any time I make a gui with more than one text input then mcreator gives me a compile error

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nevermind, I found a…
Fri, 12/15/2023 - 06:43

nevermind, I found a workaround using another mod called dimensional teleport, which adds a perfectly formatted command to do exactly what I wanted