Jump to content

File Structure


Recommended Posts

In 1.5, the file structure for textures changed. I know that blocks and item textures go into [modname]/textures/blocks or items.


My simple question is: Where would Armor go? Icons in /items? Also, the actual in-game armor, does it go into a new folder or what?

Link to comment
Share on other sites

This is what i do for my crystal sword:

public void updateIcons(IconRegister iconRegister)


iconIndex = iconRegister.registerIcon(MedivalWeapons.modid + "kamigreed:crystaline"+ this.getUnlocalizedName());


not sure if this works but it did before:

      public void updateIcons(IconRegister iconRegister)


iconIndex = iconRegister.registerIcon( "kamigreed:crystaline");


Here is the full path of where i put my png for my item,crystal sword:


Link to comment
Share on other sites

Textures go in:




Where %MODNAME% and %FILENAME% are specified in the call to iconRegister.registerIcon(...)


e.g. for an item,



will look for a texture at:



for a block, it will look in ...textures/blocks/ instead of ...textures/items/


BY: Draco18s http://www.minecraftforge.net/forum/index.php/topic,6972.0.html


(His is better)

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.

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.