How to make a structure that appears at a CERTAIN place in every world generation.

Started by PythonIsCool on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a structure that appears at a CERTAIN place in every world generation.

I want in my jojo mod to have a certain structure spawn at a certain x y z location. Is there any way to do this?

You could set structure…
Fri, 12/04/2020 - 16:39

You could set structure spawn chance to 100% and then use custom conditions for the location. This may work, but did not test.

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok ima try that
Sat, 12/12/2020 - 14:49

ok ima try that

Or you could just create a…
Wed, 12/16/2020 - 01:28

Or you could just create a global logic variable that activates the first time the player joins the world, and then use another procedure to manually generate the structure at the position you need if that variable is true.

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can u explain a little more…
Mon, 04/11/2022 - 02:10

can u explain a little more please?

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@braelin777 when the player…
Mon, 03/18/2024 - 20:30

@braelin777 when the player first spawns into the world, their position is set to x:0, y:?, z:0. therefore, if you set the structure to spawn at a position relative to the player, you can get it to spawn at a certain position in the world. 

I hope this clears things up!