How do I detect what entity's gui a player is accessing

Started by Droplet_1 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I detect what entity's gui a player is accessing

I'm trying to make an entity that has a gui. In the gui you can give it armor and tools, and it will equip them. However, it seems I can only access the player's inventory, not the entity'. I need to get this figured out. (And yes, I searched this like 5 times all typed different ways.)