OSDN Git Service

修正・変更
[chemicraft/ChemiCraftNext.git] / common / pcc / chemicraft / core / item / ItemChemiCell.java
index e314f01..7e93c5c 100644 (file)
@@ -17,32 +17,12 @@ public class ItemChemiCell extends Item
        {
                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;
        }