Jump to content

Draw a texture on a screen


OutCraft

Recommended Posts

Hi!

I want to draw a png file as Title on a screen, but I have no Idea how to do this.

Thanks for any help xD

Edited by OutCraft

Sorry if my Posts are weird sometimes, I just try to help and learn as much as I can :D

Also: PLEASE use SPOILERS for logs!

Link to comment
Share on other sites

Update:

I found some fabric code where there is a method called drawTextureRectangle or something like that, but on forge this method doesn't exist. 

Am I missing something? 

Sorry if my Posts are weird sometimes, I just try to help and learn as much as I can :D

Also: PLEASE use SPOILERS for logs!

Link to comment
Share on other sites

Update 2:

I found a forge project that also uses "drawTexturedModalRect", but I can't find it in 1.18.2

Sorry if my Posts are weird sometimes, I just try to help and learn as much as I can :D

Also: PLEASE use SPOILERS for logs!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

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