Open inventory of an other player

Started by Lagarrtija22 on

Topic category: Help with modding (Java Edition)

Last seen on 17:23, 7. Dec 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Open inventory of an other player

I need to open whit an item de inventory of the player cicked please if someone now it help me

Last seen on 10:38, 22. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't think there's any…
Tue, 12/27/2022 - 17:46

I don't think there's any easy way to do this. You'd probably have to make a custom GUI that fills itself with the items of the inventory of the other player slot by slot, then removes items from the other player's inventory as they're taken out of the GUI. The tricky part would be detecting which player you're targeting, since there isn't really an easy way to do this.