Jump to content

Need some help with resourcelocations pointing to assets folder


Recommended Posts

Posted

I am basically willing to bind a resourcelocation to the renderEngine using a file stored in my assets folder. Whenever i try to bind it using 

this.mc.renderEngine.bindTexture(new ResourceLocation("pownscoordshud", "textures/gui/idek.png"));

it keeps throwing the following error:

[21:05:53] [Client thread/WARN]: Failed to load texture: pownscoordshud:textures/textures/gui/idek.png
java.io.FileNotFoundException: pownscoordshud:textures/textures/gui/idek.png

My modid is: pownscoordshud. I have checked it mutliple times and i do not have any spelling errors within the ResourceLocation adress.

Can someone please explain me what I am doing wrong here?

670df06deaa07bd1985b4b8c6f0c4b11.png

Posted
4 minutes ago, powns said:

java.io.FileNotFoundException: pownscoordshud:textures/textures/gui/idek.png

You have an extra "textures" in your path. Remote the "textures" part of the ResourceLocation to fix it.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Posted
25 minutes ago, larsgerrits said:

You have an extra "textures" in your path. Remote the "textures" part of the ResourceLocation to fix it.

That indeed worked.... I am willing to jump off a cliff rn lol

 

thanks for your help

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.