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

Started by XRed03 on

Topic category: Help with modding (Java Edition)

Last seen on 21:06, 11. Sep 2022
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?