Created
March 16, 2014 14:38
-
-
Save anonymous/9584179 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CarnelianDust extends Item{ | |
public CarnelianDust() | |
{ | |
setMaxStackSize(64); | |
setCreativeTab(CreativeTabs.tabMaterials); | |
setUnlocalizedName("carnelianDust"); | |
} | |
@SideOnly(Side.CLIENT) | |
@Override | |
public void registerIcons(IIconRegister par1IconRegister) { | |
itemIcon = par1IconRegister.registerIcon("arcano:" + this.getUnlocalizedName().substring(5)); | |
} | |
@Override | |
public IIcon getIcon(ItemStack stack, int pass) { | |
return itemIcon; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment