Topic category: Advanced modding
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...