Redid Texturing System to use proper naming instead of item.nameHere format. Fixed Capitalization inconsistencies and will be doing the same for blocks.

This commit is contained in:
oitsjustjose 2013-06-22 19:11:53 -05:00
commit 768d7bc865
121 changed files with 36 additions and 70 deletions

View file

@ -28,7 +28,7 @@ public class ItemStaffEarth extends Item {
@Override
public void registerIcons(IconRegister iconRegister)
{
itemIcon = iconRegister.registerIcon("MysticTextures" + ":" + "item.EarthStaff");
itemIcon = iconRegister.registerIcon("MysticTextures" + ":" + this.getUnlocalizedName().substring(this.getUnlocalizedName().indexOf(".") + 1));
}
public ItemStack onItemRightClick(ItemStack itemStack, World world, EntityPlayer entityPlayer){