- private void generateSlots(String activeTabs, IInventory inventory){
+ private void generateSlots(String activeTabs, IInventory[] inventorys){
if(activeTabs.equals("Decomposition")){
int count = 0;
for(int i = 0;i < 4;i++){
for(int j = 0;j < 4;j++){
- this.addSlotToContainer(new Slot(inventory, count, 90 + 18 * j, 8 + 18 * i));
+ this.addSlotToContainer(new SlotDecompositionResult(inventorys[0], count, 90 + 18 * j, 8 + 18 * i));
count++;
}
}
- this.addSlotToContainer(new Slot(inventory, count, 25 + 4, 26 + 4));
+ this.addSlotToContainer(new Slot(inventorys[0], count, 25 + 4, 26 + 4));
+ }else if(activeTabs.equals("ChemicalCombination")){
+
}else{
return;
}