Jump to content

SOLVED[1.7.2] Block/Item Names and Textures won't work in jar


Yashagoro

Recommended Posts

I just turned my mod into a .jar file and i ran it with the right minecraft forge version but for some reason the textures of the blocks and items I put in with my mod don't work. Yet when I go into my workspace with eclipse and I Run Client the textures and the names of the items and blocks work.

Link to comment
Share on other sites

Post your code related with the textures and the directories in the jar file.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Link to comment
Share on other sites

What is your modId? and what is the unlocalizedname of the block?

And you didn't post where your textures are in the jar file.

 

PS. It is not recommended to use getUnlocalizedName().substring(5), it could be confusing.

ex) "heatcauldron" and "heatcasing" would have same texture, for the texture name only contains first 5 characters.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Link to comment
Share on other sites

My MODID is testmod_yashagoro and the first folder is Assets then testmod_yashagoro then textures then there are three folders blocks items and models and the textures are within those folders

 

P.S. I have to go so i'll be able to reply in 30 minutes to 1 hour

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.