I'm working on a machine (called the Glowstone Infuser) that stores an amount of 'glowFuel'. When an item is added to a slot, it removes that item and adds to the 'glowFuel'. There is supposed to be a bar to show how much there is on it. However, my code for that doesn't work. It definitely adds the 'glowFuel', as I tested that with a "print" function (and the machine also processes items), so it is the GUI that is the problem.
Also, while we're on the subject, how do I make it so that when the mouse is hovered over the bar it shows how much fuel is in the machine (sort of like an Item tooltip)? I've been studying a bit of BuildCraft, but it seems complicated. Is there a fairly easy way or am I going to have to make a whole lot of classes and code?
[move][glow=yellow,2,300]Thank you![/glow][/move]
Links:
GitHub
GitHub Issue
Glowstone Infuser's GUI
Glowstone Infuser's TileEntity