Topic category: Advanced modding
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...
You can just create an air area. I mean that when player is teleported, you put air blocks around the player.
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 .-.
Nah, problem resolved