Topic category: Help with modding (Java Edition)
Hi, first sorry for making this topic. A lot of people already made similar ones but none of the proposed solutions worked for me.
To sum up things, I basically want the player to be teleported in a custom, empty dimension. By teleporting them, they're also put in x:0, y:0, z:0. When it does, a structure should appear below them, at x:0, y:-5, z:0. However, I can't make the structure to spawn in the custom dimension. The player is teleported in the dimension, they're put in the right place, but the structure won't spawn. Depending on the solutions I've tried, the structure would either spawn in the Overworld (the dimension where the player was before teleporting), or it would just not spawn at all.
I've made it so that there are two triggers:
- The trigger when the player right clicks the item teleporting them (which manages the teleportation in the dimension and at the right coordinates)
- The trigger when the player enters the dimension (which manages the spawn of the structure)
Here's a link to the procedures: https://imgur.com/a/co3CcqI
Hope this is enough information, don't hesitate to ask if you need something else for better understanding. Thank you for your time reading this.
wait, what version of minecraft are you making this for? I know this may sound stupid but I just want to know, since the structure won't spawn in versions before 1.18. if it is before, then here's a solution:
- put that little "generate structure" block in a new procedure.
- then go into the dimension and navigate to "triggers".
- then select the drop down underneath "when player enters dimension" and select your new procedure.
this (hopefully) should work. I'm no expert in Mcreator but that trigger has worked for me before when giving the player an achievement for entering a dimension.