Topic category: Help with Minecraft modding (Java Edition)
Hello, I want to create a mod similar to "Pocket Repose," but I've encountered a problem: it's written in Fabric and I don't really like the island's design. Let's get to the point: I've done everything so that I can move between the regular world and the pocket dimension, but I don't know how to make it so that the player is teleported to a structure in a certain place, for example ("0x 70y 0z"), and teleported back when teleporting to the main world (meaning the world the player came from). I want to make it so that when teleporting to a dimension, say from a point ("1745x 84y 1058z"), I appear on some island at coordinates ("0x 70y 0z"), and after I've done my business, I teleport back to the point ("1745x 84y 1058z"). And I don't want this structure to reappear; I want it to be my home.
Do you want always make the same structure or make an emplacement for the player were he will be able to make and build all what he want ?
(It's very funny because I've make a mod that it add a similar mecanic, where the player have 4 pockets dimensions, just for him. I think it will not be so hard to help you :).
Before starting, I need to know if you are familiar with Tags, block programmation, procedures and called procedures or if I will also have to explain all in my next answer for win more precision ;)