Open inventory of an other player

Started by Lagarrtija22 on Fri, 11/18/2022 - 19:33

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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Open inventory of an other player
Fri, 11/18/2022 - 19:33

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

Last seen on 16:27, 27. Jan 2023
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.