OSDN Git Service

素材製作台(減算処理・NBT処理抜き)を製作
[chemicraft/chemicraft.git] / common / chemicraft / container / ContainerChemicalCraftingTable.java
index 7ceb4e4..613614f 100644 (file)
@@ -13,6 +13,7 @@ import chemicraft.inventory.InventoryChemicalCraftingNBT;
 import chemicraft.inventory.InventoryChemicalCraftingResult;
 import chemicraft.slot.SlotChemicalCraftingResult;
 import chemicraft.tileentity.TileEntityChemicalCraftingTable;
+import chemicraft.util.ChemicalNBTRecipe;
 
 public class ContainerChemicalCraftingTable extends Container {
 
@@ -40,6 +41,8 @@ public class ContainerChemicalCraftingTable extends Container {
        private InventoryChemicalCraftingResult invr;
        private InventoryChemicalCraftingNBT invn;
 
+       private ChemicalNBTRecipe useNBT;
+
 
 
        public ContainerChemicalCraftingTable(EntityPlayer par1EntityPlayer, TileEntityChemicalCraftingTable par2)
@@ -74,7 +77,7 @@ public class ContainerChemicalCraftingTable extends Container {
                this.invm.setEventHandler(this);
                this.invr.setEventHandler(this);
                this.invn.setEventHandler(this);
-
+               this.onCraftMatrixChanged(invm);
        }