Add text input for coordinates

Started by AllozaBD on Wed, 07/31/2019 - 22:25

Topic category: Help with modding (Java Edition)

Last seen on 02:42, 10. Jun 2020
Joined Mar 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Add text input for coordinates
Thu, 08/01/2019 - 14:51 (edited)

I made a teleporter and i need help, i'm tring to make it so when the player types the coordinates and presses okay it will make those the location so when you step on the block it teleports you to that location, all i need help with is making the coords into a variable.

EDIT- tried to put it under help but said i couldn't now i can't change it sorry for the miss info

Edited by AllozaBD on Thu, 08/01/2019 - 14:51
Place text field elements on…
Thu, 08/01/2019 - 14:52

Place text field elements on GUI and use procedures to read coordinates. To convert text to number, you have a block for this too in procedure editor.