OSDN Git Service

GUIのSlot追加
[chemicraft/chemicraft.git] / common / chemicraft / GuiChemicalCraftingTable.java
index 2a5524c..8f79816 100644 (file)
@@ -8,6 +8,7 @@ import net.minecraft.src.EntityPlayer;
 import net.minecraft.src.GuiContainer;\r
 import net.minecraft.src.InventoryBasic;\r
 import net.minecraft.src.InventoryPlayer;\r
+import net.minecraft.src.Item;\r
 import net.minecraft.src.ItemStack;\r
 import cpw.mods.fml.common.Side;\r
 import cpw.mods.fml.common.asm.SideOnly;\r
@@ -18,12 +19,6 @@ import cpw.mods.fml.common.network.Player;
 public class GuiChemicalCraftingTable extends GuiContainer {\r
 \r
        /**\r
-        * 分解機GUIのInventoryBasicクラス\r
-        */\r
-       private static InventoryBasic decompositionSlots = new InventoryBasic("Decomposition", 17);\r
-\r
-\r
-       /**\r
         * TabListのArrayList\r
         */\r
        private ArrayList<ChemiCraftTab> tabList = new ArrayList<ChemiCraftTab>();\r
@@ -70,7 +65,9 @@ public class GuiChemicalCraftingTable extends GuiContainer {
                this.container = (ContainerChemicalCraftingTable) this.inventorySlots;\r
                //TabListにTabを追加する\r
                this.addTabs(0, "Decomposition", new ItemStack(Block.tnt.blockID, 1, 1));\r
-               this.addTabs(1, "Test", new ItemStack(Block.bedrock.blockID, 1, 1));\r
+               this.addTabs(1, "ChemicalCombination", new ItemStack(ChemiCraft.instance.itemAtoms, 1, 0));\r
+               this.addTabs(2, "ToolAndWeaponCrafting", new ItemStack(Item.pickaxeSteel, 1, 0));\r
+               this.addTabs(3, "MaterialCrafting", new ItemStack(Item.fireballCharge, 1, 0));\r
                //ActiveTabの初期化\r
                for(int i = 0;i < tabList.size();i++){\r
                        String field_00001 = this.tabList.get(i).getTabName();\r