mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 23:33:08 +00:00
Work on Formulaic Assemblicator, many fixes
This commit is contained in:
1 parent
f31e32fcf2
commit
6f4e73d15e
12 files changed
+302
-23
No files matched your search
@@ -1,8 +1,8 @@
|
||||
package mekanism.common.recipe;
|
||||
|
||||
import mekanism.common.MekanismItems;
|
||||
import mekanism.common.block.BlockBasic.BasicType;
|
||||
import mekanism.common.inventory.InventoryBin;
|
||||
import mekanism.common.item.ItemBlockBasic;
|
||||
import mekanism.common.item.ItemProxy;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.inventory.InventoryCrafting;
|
||||
@@ -39,7 +39,7 @@ public class BinRecipe implements IRecipe
|
||||
return false;
|
||||
}
|
||||
|
||||
return itemStack.getItem() instanceof ItemBlockBasic && itemStack.getItemDamage() == 6 && itemStack.stackSize == 1;
|
||||
return BasicType.get(itemStack) == BasicType.BIN && itemStack.stackSize <= 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -99,7 +99,7 @@ public class BinRecipe implements IRecipe
|
||||
}
|
||||
|
||||
binInv.add(addStack);
|
||||
|
||||
|
||||
return bin;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in new issue
Block a user