How can you set a block X Y Z to a custom variable?

Started by ImNotFun on Wed, 09/09/2020 - 03:02

Topic category: Help with MCreator software

Last seen on 07:59, 18. Sep 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How can you set a block X Y Z to a custom variable?
Wed, 09/09/2020 - 03:02

So the system i am trying to make will allow a player to spawn at a certain block. If they place block A then the block will save its location to a variable. How can I save this information to a variable and use that to teleport a player to that area?

Last seen on 17:57, 21. Aug 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Create a 3 player persistent…
Wed, 09/09/2020 - 22:31

Create a 3 player persistent variables in the variables tab, and make a procedure that sets those variables to the x y z coords. Then you can use those variables later to teleport the player.

Last seen on 07:59, 18. Sep 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How can I get that…
Thu, 09/10/2020 - 08:34

How can I get that information into the variable? What blocks would allow me to do that?