From 02c185e70e23c3c826e26e2ca4ddf5dbb056af71 Mon Sep 17 00:00:00 2001 From: Jordan Byrne Date: Sat, 9 Dec 2017 19:19:30 +1000 Subject: + Added a config option to disable Zombie Reinforcements. % Redid some Circuit handling for recipes. $ Fixed Component Assembler recipes not using all circuits per tier for recipes. --- src/Java/gtPlusPlus/core/util/item/ItemUtils.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/Java/gtPlusPlus/core/util/item') diff --git a/src/Java/gtPlusPlus/core/util/item/ItemUtils.java b/src/Java/gtPlusPlus/core/util/item/ItemUtils.java index 852dde6a4b..71b37ebf48 100644 --- a/src/Java/gtPlusPlus/core/util/item/ItemUtils.java +++ b/src/Java/gtPlusPlus/core/util/item/ItemUtils.java @@ -684,6 +684,22 @@ public class ItemUtils { Utils.LOG_INFO("[Component Maker] Found "+mItemName+"."); return (gregstack); } + + public static ItemStack[] getStackOfAllOreDictGroup(String oredictname){ + final ArrayList oreDictList = OreDictionary.getOres(oredictname); + if (!oreDictList.isEmpty()){ + final ItemStack[] returnValues = new ItemStack[oreDictList.size()]; + for (int i=0;i0 ? returnValues : null; + } + else { + return null; + } + } } -- cgit