Jump to content

[1.6.4] Can't get textures to work with my mod


mOXkIe

Recommended Posts

The mod itself works 100% fine but I can't get the textures to work when adding the mod to MultiMC. After browsing around on your wiki I found out that I should add these packages:

 

assets.modname.textures.blocks

assets.modname.textures.items

 

So I did, and the images shows up when I look into the packages. Now I recompile and reobfuscate the mod and make it into a .zip file.

It now looks like this:

 

In the mOXkIe.zip/mOXkIe we have following folders

modname

assets

 

In the modname(modname is not the actual name of the mod, I just took it as an example) folder we have the class files for the mod and in the assets folder we have another map called modname and in that folder I put the textures map with the folders blocks and items that contains the textures for the mod.

 

When I add the mod to MultiMC and start it the textures for my items still doesn't show up. I know there's nothing wrong with any of the code since I get it working when I for example add the mod just to the regular launcher with Forge, and out the textures in the 1.6.4.jar file.

Can you guys see what I'm doing wrong and help me? A appreciate you taking your time into helping me, and sorry for my rust English but it should be more than understandable! :)

Link to comment
Share on other sites

In the mOXkIe.zip/mOXkIe we have following folders

modname

assets

 

Nope.

 

mOXkIe.zip
|__modname
|__assets

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

In the mOXkIe.zip/mOXkIe we have following folders

modname

assets

 

Nope.

 

mOXkIe.zip
|__modname
|__assets

 

When I put the assets folder and modname folder directly into the zip the mod wont work.

 

This is probably some useful info for you to help me:

 

The package stuff

package moxkie.glowingtools;

 

This is how my code for the icons looks like

public void registerIcons(IconRegister reg) {
if (itemID == glowingTools.glowingAxe.itemID) {
this.itemIcon = reg.registerIcon("glowingtools:glowing_axe");
}
}
}

 

moxkie.zip
moxkie
      assets
      glowingtools

 

In the assets folder I have glowingtools/textures/icons/glowing_axe.png etc

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.



×
×
  • Create New...

Important Information

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