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

Started by ImNotFun on

Topic category: Help with MCreator software

Last seen on 07:27, 21. Jun 2022
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can you set a block X Y Z to a custom variable?

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 16:47, 29. Oct 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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:27, 21. Jun 2022
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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?