Jump to content

[1.8] Completely lost regarding textures


ThePsionic

Recommended Posts

Hey everyone,

I'm having a problem with applying item textures in my 1.8 mod. All item textures are currently black/purple blocks, and there are no FileNotFoundException errors when I run Minecraft.

 

General item class: https://github.com/ThePsionic/MRCS/blob/master/src/main/java/io/github/thepsionic/mrcs/items/MRCSItem.java

Item registering class: https://github.com/ThePsionic/MRCS/blob/master/src/main/java/io/github/thepsionic/mrcs/registers/MRCSItems.java

ClientProxy, which handles the texturing: https://github.com/ThePsionic/MRCS/blob/dev/src/main/java/io/github/thepsionic/mrcs/proxy/ClientProxy.java

Main mod class: https://github.com/ThePsionic/MRCS/blob/master/src/main/java/io/github/thepsionic/mrcs/MRCS.java

Resources folder: https://github.com/ThePsionic/MRCS/tree/master/src/main/resources

 

Anyone see anything I'm not seeing? I'm assuming the files ARE found, just nothing is done with them, since there's no errors thrown whatsoever.

 

Edit: I'm working with Forge 1.8-11.14.0.1273-1.8

Link to comment
Share on other sites

Because when you told it to look for textures, you didn't tell it not to look in Minecraft's assets folder.

 

MODID + ":" + TEXTURE

does not equal

TEXTURE

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.

Link to comment
Share on other sites

That's what you're already doing.

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.

Link to comment
Share on other sites

Draco18s already gave you that info, however:

 

change these registrations from

 

MRCS.proxy.registerItemTexture(MRCSItems.stoneRightArm, ConstantsItem.KEY_STONE_RIGHT_ARM);

to:

 

MRCS.proxy.registerItemTexture(MRCSItems.stoneRightArm, MODID + ":" + ConstantsItem.KEY_STONE_RIGHT_ARM);

 

You have to prepend your modID and a colon as a string to your item name string.

Link to comment
Share on other sites

Draco18s already gave you that info, however:

 

change these registrations from

 

MRCS.proxy.registerItemTexture(MRCSItems.stoneRightArm, ConstantsItem.KEY_STONE_RIGHT_ARM);

to:

 

MRCS.proxy.registerItemTexture(MRCSItems.stoneRightArm, MODID + ":" + ConstantsItem.KEY_STONE_RIGHT_ARM);

 

You have to prepend your modID and a colon as a string to your item name string.

Oh, duh. Obvious solution is obvious. Thanks!

 

EDIT: Wait. No. Doesn't work as seen http://puu.sh/dCzyh/a42e15c0c9.png here.

https://github.com/ThePsionic/MRCS/commit/7807fc7593fce9bcbb9ebc6376662ba9579e59ec

Also, am I not already doing that https://github.com/ThePsionic/MRCS/blob/7807fc7593fce9bcbb9ebc6376662ba9579e59ec/src/main/java/io/github/thepsionic/mrcs/proxy/ClientProxy.java#L45 there?

Link to comment
Share on other sites

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.