Teleport only to a y x or z

Started by Stoutscientist on Wed, 07/14/2021 - 00:44

Topic category: Feature requests and ideas for MCreator

Last seen on 14:17, 22. Sep 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Teleport only to a y x or z
Wed, 07/14/2021 - 00:44

It would be cool if there was like a teleport to z block or y etc because you cant just teleport to like a y postition, Now you could leave the x and z as x and z but then if it was in tick it would lag you everywhere

Last seen on 14:49, 21. Sep 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
A "~" will use the currentā€¦
Mon, 08/16/2021 - 18:41

A "~" will use the current value of the coordinate variable it is replacing.
"/tp ~ ~5 ~" will teleport the player up 5 blocks.
"/tp 0 ~ ~" will teleport the player to x block 0, while keeping y and z the same.

Here are the two previous /tp commands written in procedure code blocks: