How do I find the block associated with the opened gui?

Started by XRed03 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I find the block associated with the opened gui?

I'm trying to make a procedure that makes it so that when you press a button on the gui it spawns the mob in front of the block. How would I go about doing this?

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is incredibly late, but…
Thu, 02/06/2025 - 07:30

This is incredibly late, but has the solution been found by anyone?

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can do this by creating…
Thu, 02/06/2025 - 11:12

you can do this by creating a procedure with the following in it 
https://imgur.com/a/WKkYNtR
This does rely on having block rotation on the y axis enabled, but is just a building point that does function, it can be further modified and refined