how to generate a structure at x:0 z:0

Started by shrekdar on

Topic category: Help with modding (Java Edition)

Last seen on 16:32, 21. May 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to generate a structure at x:0 z:0

so, i am making a boss rush mod and made this hole-like structure where the final boss will be

i am trying to make the structure spawn once and always at x:0 z:0 and still be able to use terrain matching

(the only thing that i've used is a procedure spawning the NBT file wich is a giant and ugly block with a flat surface)

is it possible ?

Last seen on 18:52, 15. Jun 2024
Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
create procedure, set global…
Mon, 05/20/2024 - 19:39

create procedure, set global trigger to "minecraft loads world"

create variable "world opened before", set false

if world opened = false

>use an "execute command" block with the structure command to spawn it at 0,0

>set world opened to true

 

this might work, if not look up tutorials