Save GUI data across items

Started by God_Of_Wood on

Topic category: Help with modding (Java Edition)

Last seen on 16:55, 21. Nov 2023
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Save GUI data across items

How can I make it so that the same GUI keeps the items inside of it even if it's opened using different items?

Last seen on 16:55, 21. Nov 2023
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How would I go about doing…
Fri, 11/10/2023 - 17:35

How would I go about doing that?

Add global variables of type…
Sat, 11/11/2023 - 15:23

Add global variables of type itemstack in variables tab and then use procedures to set/get their values when slots are changed or when gui is open/closed