Topic category: Help with modding (Java Edition)
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!