How to have a structure spawn only once in a custom dimension?

Started by noeties on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 month ago
Joined Oct 2021
Points:
602

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 31
How to have a structure spawn only once in a custom dimension?
Tue, 10/26/2021 - 23:35 (edited)

Let me explain.

I want to make an arena that always spawns around 10 blocks in front of you when you spawn into the new dimension

It works, but when you die and return to the dimension, It spawns a duplicate of the same thing.

This wouldn't be an issue if it didn't also spawn in the boss that is also part of the structure.

So can anyone explain a way to fix it?

 

Edited by noeties on Tue, 10/26/2021 - 23:35
Active 1 month ago
Joined Sep 2020
Points:
1228

User statistics:

  • Modifications: 7
  • Forum topics: 17
  • Wiki pages: 4
  • MCreator plugins: 0
  • Comments: 774
In the dimension editor When…
Wed, 10/27/2021 - 10:56

In the dimension editor

When player enter in a dimension spawn structure at x / y / z player coordinates. Remeber add / remove from the coordinates the dimension of the structure or the player can spawn in a wall

 

Active 1 month ago
Joined Oct 2021
Points:
602

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 31
Sadly that is what my code is
Wed, 10/27/2021 - 14:13

Sadly that is what my code is

Active 1 month ago
Joined Sep 2020
Points:
1228

User statistics:

  • Modifications: 7
  • Forum topics: 17
  • Wiki pages: 4
  • MCreator plugins: 0
  • Comments: 774
Use global trigger for…
Wed, 10/27/2021 - 15:20

Use global trigger for player. When enter in a dimension the structure spawn is is true then automatically change to false

Active 1 month ago
Joined Oct 2021
Points:
602

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 31
Im very confused Im bad at…
Wed, 10/27/2021 - 21:29

Im very confused

Im bad at coding sorry

Active 1 month ago
Joined Sep 2020
Points:
1228

User statistics:

  • Modifications: 7
  • Forum topics: 17
  • Wiki pages: 4
  • MCreator plugins: 0
  • Comments: 774
You don't need code, just…
Thu, 10/28/2021 - 05:45

You don't need code, just create a logic global trigger (true or false) that is true at the start of the world and become false when you enter in a dimension 

Active 1 year ago
Joined Aug 2021
Points:
626

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 31
Make a variable. When…
Fri, 10/29/2021 - 04:56

Make a variable. When structure generated change it to true, then make it so that when the variable is true it cannot generate anymore