- public void getSubItems(int par1, CreativeTabs par2CreativeTabs, List par3List){
- for(int type = 0; type < ChemiCraftAPI.instance().getChemicalCellsName().sizeKeysList(); type++)
- {
- par3List.add(new ItemStack(par1, 1, type));
- this.setIconIndex(type);
- }
- }
-
-
-
- @Override
- public String getItemNameIS(ItemStack par1ItemStack){
- return super.getItemName() + "." + ChemiCraftAPI.instance().getChemicalCellsName().getKeyList(par1ItemStack.getItemDamage());
- }
-
-
-
- @Override