Started by
AkihitoMidas
on
Topic category: Help with Minecraft modding (Java Edition)
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
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.
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
nevermind, I found a workaround using another mod called dimensional teleport, which adds a perfectly formatted command to do exactly what I wanted