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?