MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / generify

Method generify

src/main/java/gregapi/data/RM.java:181–184  ·  view source on GitHub ↗
(ItemStack aStack1, ItemStack aStack2)

Source from the content-addressed store, hash-verified

179 }
180
181 public static boolean generify(ItemStack aStack1, ItemStack aStack2) {
182 if (ST.invalid(aStack1) || ST.invalid(aStack2)) return F;
183 return RM.Generifier.addRecipe1(F, T, F, F, F, 0, 1, aStack1, aStack2) != null;
184 }
185 public static boolean genericycle(ItemStack... aStacks) {
186 ArrayListNoNulls<ItemStack> aStackList = ST.arraylist(aStacks);
187 for (int i = 0; i < aStackList.size(); i++) if (ST.invalid(aStackList.get(i))) aStackList.remove(i--);

Callers 15

genericycleMethod · 0.95
glowstoneMethod · 0.95
stonetypesMethod · 0.95
runMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95

Calls 3

invalidMethod · 0.95
addRecipe1Method · 0.80
addRecipe0Method · 0.80

Tested by

no test coverage detected