How can I make an item spawn a structure when the player clicked on any block?

Started by GalaxyRaccoon on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make an item spawn a structure when the player clicked on any block?

I'm always struggling at making this procedure. I'm using "Place NBT structure file" block and idk how to make an item spawn a structure at faced block coordinate.

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it might be easier to have…
Thu, 11/06/2025 - 15:06

it might be easier to have it do it with a command procedure

 /place structure and then the structure you want it to the place