Jump to content

Recommended Posts

Posted

I have looked at several other threads on this and none of them have fixed the problem with the texture not loading. I am not sure what i am doing wrong  but some advice would be much appreciated on this. the texture that it is currently showing is the black and purple texture.

 

Error:

 

  Reveal hidden contents

 

 

Code:

 

  Reveal hidden contents

 

 

the path to the texture is: src\minecraft\mods\moChickens\textures\mobs\blueChicken.png

Posted

mochickens != moChickens

 

Minecraft performs a toLowerCase on the string you pass it, but doesn't on folder and file names (which are case sensitive).

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

Safe your textures in a folder at mcp/src/minecraft/mods/assets/mochickens/textures/mobs/blueChicken.png

 

Hope this helps  :)

Aether II Developer

Posted
  On 10/25/2013 at 2:51 AM, saxon564 said:

i thought i understood what you meant but when i tried it, the problem didnt go away. could you please elaborate more on that?

 

Make all of your folder and file names all lower case letters.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

@draco ive done that. and that didnt fix the issue.

 

@bren even setting the texture in that file path did nothing to fix the issue.

 

I have done a combination of both of your suggestions too.

 

the only line of code that was modified at all was:

private static final ResourceLocation chickenTextures = new ResourceLocation("mochickens:textures/mobs/bluechicken.png");

 

i moved the texture back to where i did have it. any other ideas?

Posted

Hi

 

Try putting a breakpoint into

SimpleReloadableResourceManager.getResource

 

The problem seems to be that the root you have specified doesn't match the ones that Forge has registered.

 

ResourceManager resourcemanager = (ResourceManager)this.resourceManagers.get(par1ResourceLocation.getroot());

 

par1ResourceLocation.getroot() is yours, the valid ones are in the resourceManagers Map.  If you look through the map you might find a clue why your root isn't matching any.

 

-TGG

 

 

 

 

Posted

@TGG im sorry but what you said doesnt make much sence to me.

 

@ToGoLink i swear i tried that set up before and it didnt work, but i just tried it again and it did work.... now to figure out why the wings wont stop rotating.

 

Thanks everyone for the help!

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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