Jump to content

Recommended Posts

Posted

@Override
public void registerIcons(IconRegister reg){
	this.itemIcon = reg.registerIcon("yourmodid:texturename");
}

 

on your hard drive: mcp/src/minecraft/assets/yourmodid/items/texturename.png

or

mcp/src/minecraft/assets/yourmodid/blocks/texturename.png

yourmodid must be all lower case

Hydroflame is invalid

hydroflame is valid

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Posted

Would this work too?

 

    @Override

public void registerIcons(IconRegister reg)

    {

   

this.itemIcon = reg.registerIcon("deathman12e3." + this.getUnlocalizedName() + ".png");

 

}

Kain

Posted

@Override

  public void registerIcons(IconRegister reg)

    {

      this.itemIcon = reg.registerIcon("deathman12e3"+":" + this.getUnlocalizedName());

  }

 

no .png and you NEED ABSOLUTELLY 100% FOR SURE a colon ":" between your modid and your texture name

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Posted

You can also put this at the end of your item constructors:

.func_111206_d("yourmodid:texturename")

Your textures MUST be in mcp/src/minecraft/yourmodid/textures/items/texturename.png

If you do not have those folders already, create them!

 

Posted

I have this in my error log

 

2013-07-25 11:52:27 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: deathman12e3:textures/items/item.woodPaxel.png

 

 

Here's a little folder tree

 

src

>minecraft

>>deathman12e3

>>>textures

>>>>items

>>>>>woodPaxel.png

Kain

Posted

deathman12e3:textures/items/item.woodPaxel.png

 

src

>minecraft

>>deathman12e3

>>>textures

>>>>items

>>>>>woodPaxel.png

 

you can figure this one out ?

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Posted

deathman12e3:textures/items/item.woodPaxel<- says its looking for the file names: "item.woodPaxel"

 

src

>minecraft

>>deathman12e3

>>>textures

>>>>items

>>>>>woodPaxel.png <- there is no file named "item.woodPaxel"

 


deathman12e3:textures/items/woodPaxel

 

OR

 

 

src

>minecraft

>>deathman12e3

>>>textures

>>>>items

>>>>>item.woodPaxel.png

 

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

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.