Spawn under the sky.

Started by UnderWaves on Sun, 09/15/2019 - 15:50

Topic category: Advanced modding

Last seen on 19:02, 17. Oct 2019
Joined Jan 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Spawn under the sky.
Sun, 09/15/2019 - 15:50

Hello people!

Here's the problem today. (gnnnn my S key is dying) So, I created a dimension recently, and we can access it with a click-and-teleport block. I mean, you place a block, you right-click it and poof, you're teleported to the dimension.

Only one problem : the portal teleports you in the dimension, to the EXACT coordinates your world spawn has been set. Per example, if your Overworld spawn is at coordinates X=10, Y=68, Z=327 and you right-click the portal block, you're teleported in the dimension at the spawn coordinates X=10, Y=68, Z=327.

I tried to create a procedure that scans every coordinate in the X,Z column you're teleported in in order to teleport the player at the first place where it won't suffocate, but it look like it won't work. Please help me, it's important...

Last seen on 01:16, 18. Oct 2019
Joined Aug 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
You can just create an air…
Sun, 09/15/2019 - 16:26

You can just create an air area. I mean that when player is teleported, you put air blocks around the player.

Last seen on 19:02, 17. Oct 2019
Joined Jan 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
em, what about a player that…
Mon, 09/16/2019 - 18:19

em, what about a player that spawns in the lava?

or about a player spawning near his return portal?

What I want is to teleport the player under the sky .-.