Structure won't spawn while entering dimension

Started by Grifinne on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Structure won't spawn while entering dimension

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.

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
wait, what version of…
Wed, 09/18/2024 - 21:29

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.

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi, thanks for your reply! I…
Thu, 09/19/2024 - 12:52

Hi, thanks for your reply! I'm using NeoForge 1.20.6 for my project, I've already tried this solution but it would make the structure spawn in the overworld instead of in said dimension. I think it's because the procedure makes the structure spawn right at the moment when I press the button, which makes it spawn in the overworld since there's a bit of delay before I get teleported in the other dimension. I've tried delaying the spawn of the structure a bit but it would just not spawn at all.

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
huh... no clue what you can…
Thu, 09/19/2024 - 22:55

huh... no clue what you can do then. I always make forge mods and not neoforge, so maybe it just works differently and with neoforge it goes "hippity hoppity you ain't spawning structures on my property".

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi, first sorry for making…
Fri, 09/20/2024 - 07:10

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 my perfect hotel

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.

I see many people have created similar topics but it seems the answer is still not answered.

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Welp, thanks for your help…
Fri, 10/04/2024 - 11:43

Welp, thanks for your help anyways. I already tried doing similar systems in Forge in the past but still had the same issue. Maybe it is something related to the structure properties, idk. 🤷‍♀️