{
super(par1);
this.maxStackSize = 64;
- this.setHasSubtypes(true);
- this.setMaxDamage(0);
this.setCreativeTab(ChemiCraftCore.instance.creativeTabChemiCraft);
}
@Override
- 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
public String getTextureFile(){
return ChemiCraft.ITEM_TEXTURE;
}