Trying to implement a GUI but don't want the tabs.
The-Code-Monkey opened this issue ยท 6 comments
Hi,
I'm implementing a GUI but using your GUI code, is there a way for me to disable the tabs on the left as they will do things that we don't want the GUI to be able to do?
Also would be nice if the energy bar could be changed in width.
You can check gui for solar panels, IMHO. They do not have item\fluid i\o config tabs
Also as far as I can remember these tabs appearance depends on blockentity. So check solar panels blockentity also.
Ah ok I'm trying to basically make a battery that can charge via a slot in the gui
Ah ok I'm trying to basically make a battery that can charge via a slot in the gui
@Override
public boolean canBeUpgraded() {
return false;
}
@Override
public boolean hasSlotConfig() {
return false;
}
I believe those are the methods you have to override, however I was under the impression to were off by default but I guess not.