Switch dimensions to safe position

Started by Nasaratsu on

Topic category: Help with MCreator software

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.

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