Jump to content

Recommended Posts

Posted

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

Thanks...!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.