Switch dimensions to safe position

Started by Nasaratsu on

Topic category: Help with MCreator software

Last seen on 05:43, 11. Mar 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Switch dimensions to safe position

Hi, I'm new here, I've started working on a dimension mod for fun and I stumbled into a problem

I did a procedure that teleports the player to the new dimension, but I'm not sure how to make them spawn on the surface, or at least not inside solid blocks. I've searched a bit around the forums but I didn't find a good solution. I'm using 2021.1 EAP.

Plus, I'm still learning how to use all the procedure commands, with a very basic understanding of code. So I'm stuck trying to make a loop that checks for solid blocks and moves the player up, but so far no sucess.

If anyone has an working example or could help me out, ideally, to move the player to the surface block of the dimension, that'd be of great help.
Thanks in advance.

Last seen on 01:03, 25. Nov 2023
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can help you figure out…
Fri, 03/12/2021 - 12:22

I can help you figure out the algorithms.

Discord: Obscuria:1686