Item Quick Swap (NOT Solved)

Started by Pepper on Thu, 06/10/2021 - 03:29

Topic category: Help with modding (Java Edition)

Last seen on 20:26, 25. Jul 2021
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Item Quick Swap (NOT Solved)
Thu, 06/10/2021 - 05:04 (edited)

I am making a mod with a backpack (yes, i know that there are a lot of backpack mods). but im trying to do something and I'm not quite sure how to do it, when i press one of these swap buttons, i want the item in the main slot to swap with the item in your hand. i have no idea how to do this and i have never really used GUI. please help me!Image loading...

Edited by Pepper on Thu, 06/10/2021 - 05:04
Last seen on 20:26, 25. Jul 2021
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Also, I have another problem…
Thu, 06/10/2021 - 04:03

Also, I have another problem, i dont want backpacks to be placed in other backpacks or shulkers. how do i stop it from happening?