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

Started by XRed03 on Wed, 08/10/2022 - 04:35

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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I find the block associated with the opened gui?
Wed, 08/10/2022 - 04:35

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?