Any way to lock entity inventory GUI until entity is tamed?

Started by MitchGizzard on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Any way to lock entity inventory GUI until entity is tamed?

As the title suggests, I'm having trouble figuring out how to make the entities inventory exclusive to when it is a tamed entity. I'm attempting to make the tameable mob into a mobile chest of sorts, but you can open its inventory regardless of tamed status. Any suggestions?