Jump to content
Search In
  • More options...
Find results that contain...
Find results in...



Recommended Posts

package mymod;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.item.Item;

public class modItem extends Item
         private String itemTexture;
         public modItem (int par1, String texture)
                 itemTexture = texture;
         public void func_94581_a(IconRegister iconRegister)
                 iconIndex = iconRegister.func_94245_a("mymodid:"+itemTexture);

Link to comment
Share on other sites

This topic is now closed to further replies.

  • Create New...

Important Information

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