Jump to content

[1.7.10] [SOLVED] Textures aren't working.


Hardc0r3Br0n3

Recommended Posts

I followed MrCrayfish's tutorial for adding a basic item into 1.7.10, (the whole reason for going back a minecraft version for modding is because it's so much easier to add Blocks/Items into it), and it's work thus far, but I have hit a wall. He explained how to implement textures and I did what he did. Instead of me booting up and seeing my texture, I see the "missing texture" texture.

 

Here is the code I have for the Item:

itemCythar = new ItemCythar().setUnlocalizedName("ItemCythar").setTextureName("EMod:itemcythar");
	GameRegistry.registerItem(itemCythar, itemCythar.getUnlocalizedName().substring(5));

 

Screenshot of the texture not working, aswell as package explorer showing where I have the texture:

qtWPVQ6.png

P8RtBu3.png

 

EDIT: I have solved this issue, and I face palmed very hard because it was the most obvious fix. Just look at my second screenshot, as you can see I have the "textures" folder, right? Well, I don't  have the "items" folder inside of it, which is where my texture is supposed to be located.

"It's basically a big ball of wibily wobily timey wimey." - The Doctor

Link to comment
Share on other sites

1) Screenshots don't work (for me)

2) Is your modid exactly the same everywhere (lower-/uppercase)?

3) Does your texture name match exactly (lower-/uppercase)?

 

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/

Link to comment
Share on other sites

1) Screenshots don't work (for me) They are working fine on my side... oh well.

2) Is your modid exactly the same everywhere (lower-/uppercase)? Yes I checked, the modid is the same in every location.

3) Does your texture name match exactly (lower-/uppercase)? Yes, I named it itemcythar, and in the code I specified for it to look for "itemcythar"

"It's basically a big ball of wibily wobily timey wimey." - The Doctor

Link to comment
Share on other sites

I had just figured out the problem.

Not only was my Forge Environment corrupt, but I forgot to make the "items" folder inside of the "textures" folder. So that's why the texture was not being rendered.

I know that it was corrupt because even after I deleted my mod to restart, the Item could still be /given, and was in the Mod List on the main menu.

"It's basically a big ball of wibily wobily timey wimey." - The Doctor

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.