Jump to content

Drawing Sprites On Screen With Forge Blit Function


_Butu_

Recommended Posts

hello I have this issue for around a day now, I cant figure out how to display a sprite on the users screen I've looked into forges (I think source code) so I opened the declaration of ForgeIngameGui#renderFood and found multiple blit functions which were chained together so I copied all the chained functions and called the first one with the same arguments as in the renderfood function but I couldn't get it to work. well something appeared on the screen but it was a single color. I want to display a 16x16 sprite in the corner of the screen when the RenderGameOverlayEvent is called. ive looked ALL OVER the internet but all the things I found I eather didn't understand or the code was outdated. by the way I am using 1.16.4

Edited by _Butu_
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.