Generate a structure at 0, 0

Started by Green4 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Generate a structure at 0, 0

Hi! I'm working on a mod that teleports you to another dimension with a structure in it. How could I make it so that the structure only spawns at 0, 0 (To simplify the teleportation)?

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a logic variable eg…
Tue, 10/01/2024 - 12:13

Make a logic variable eg DimensionStructureSpawned = false. Then on player enters dimension, tp player to 0 ~ 0, then if variable = false: place structure nbt file at 0 ~ 0 and set logic variable to true.