Jump to content

[1.7.10] [Solved] How do you use part of a texture for a GUI


Silly511

Recommended Posts

I am making a GUI for a energy storage block I made, and I want a bar indicating how much energy is stored in the storage block. I know you can have more than one texture in the same file, but how do I implant the texture? I am using

drawTexturedModalRect

for my main texture but how do I select a part of the image?

Link to comment
Share on other sites

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.