copygirl / WearableBackpacks

Minecraft mod which adds beautiful, balanced backpacks
MIT License
61 stars 35 forks source link

Quark Sort Buttons/Trash Slot Compat #109

Open breadguyyy opened 5 years ago

breadguyyy commented 5 years ago

If there is a way to make the chest/inventory buttons from Quark and the trash slot from Trash Slot work while the backpacks are open that would be fantastic!

love the mod, its easily the best backpack mod out there, thank you

copygirl commented 5 years ago

For the record, I checked to see if Quark's "Forced GUIs" settings would make the buttons appear and it doesn't appear so.

breadguyyy commented 5 years ago

huh, I didn't even know about that option. either way, I left a comment a little while ago on the ION chests CF page asking for wearable backpacks compat since Asie was a contributor to this project, but it seems that project might be finished for good. I did some poking around in the config though, and it looks like I can add the class for whatever container I want the buttons on, but I haven't been able to figure that out either lol

copygirl commented 5 years ago

The idea is to turn on the "Debug Classnames" option or so, which will cause a debug message to appear in the log when any GUI is opened. That way you can find out the name of the GUI class, which in Wearable Backpacks's case is net.mcft.copy.backpacks.client.GuiBackpack.

Unfortunately in my test, adding this did not work. That might very well be because my GUI isn't based on any existing chest GUI or similar class, because it needs to be resizable and such.