Started by
tmss123
on
Topic category: Help with Minecraft modding (Java Edition)
I wanted to make a custom portal block (I didn´t want a nether like portal), so when you touch it, it teleports you to the other dimension, but the problem is that I don´t know how to make it teleport you to the same coordinates in the other dimension (it teleports me to a random place). Also I would like to know how to make the portal appear in the other dimension where you are teleporting.
Edited by tmss123 on Thu, 09/23/2021 - 16:39
if you use the get x/y/z blocks and make it so that you teleport to those when you enter, and then also use those same things to define where to put the custom portal block.
yea its easy to say but I don´t know what exactly I should do
Minecraft portals always teleport you at a random location. You have to make a procedure that get player coordinates in the overworld and teleport you when enter in a dimnsion. But remember that in that case the original portal will always spawn and this can be quite bad to see