Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

Posted

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! :)

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.

  • Author

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

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.