Topic category: Help with MCreator software
I'm creating a dimension teleport block where you right click it to teleport dimensions. I want to be able to teleport back to the exact location the teleport block was placed, no matter where you are in dimension 2.
Currently, if you place down a teleport block in dimension 2, you get teleported back to the exact position you're currently in, except in dimension 1.
To counteract that, im using global variables to store the positions of teleporter 1 and teleporter 2, then setting the players location based on the dimension they teleport to. However, the only location i can access is the players location, therefore you get teleported to the wrong place.
Anyway, I need a way to store the location of a block that gets placed.