MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / ae_grinder

Method ae_grinder

src/main/java/gregapi/data/RM.java:967–967  ·  view source on GitHub ↗
(int aTurns, ItemStack aInput, ItemStack aOutput)

Source from the content-addressed store, hash-verified

965 }
966
967 public static boolean ae_grinder(int aTurns, ItemStack aInput, ItemStack aOutput) {if (MD.AE.mLoaded && ST.valid(aInput) && ST.valid(aOutput)) try {AEApi.instance().registries().grinder().addRecipe(ST.copy_(aInput), ST.copy_(aOutput), Math.max(1, aTurns)); return T;} catch(Throwable e) {e.printStackTrace(ERR);} return F;}
968 public static boolean ae_grinder(int aTurns, ItemStack aInput, ItemStack aOutput, ItemStack aOutput2, float aChance2) {if (MD.AE.mLoaded && ST.valid(aInput) && ST.valid(aOutput)) try {AEApi.instance().registries().grinder().addRecipe(ST.copy_(aInput), ST.copy_(aOutput), ST.copy(aOutput2), aChance2, Math.max(1, aTurns)); return T;} catch(Throwable e) {e.printStackTrace(ERR);} return F;}
969 public static boolean ae_grinder(int aTurns, ItemStack aInput, ItemStack aOutput, ItemStack aOutput2, float aChance2, ItemStack aOutput3, float aChance3) {if (MD.AE.mLoaded && ST.valid(aInput) && ST.valid(aOutput)) try {AEApi.instance().registries().grinder().addRecipe(ST.copy_(aInput), ST.copy_(aOutput), ST.copy(aOutput2), aChance2, ST.copy(aOutput3), aChance3, Math.max(1, aTurns)); return T;} catch(Throwable e) {e.printStackTrace(ERR);} return F;}
970

Callers 4

mortarizeMethod · 0.95
onPostLoadMethod · 0.95
onOreRegistrationMethod · 0.95
onOreRegistrationMethod · 0.95

Calls 4

validMethod · 0.95
copy_Method · 0.95
copyMethod · 0.95
addRecipeMethod · 0.80

Tested by

no test coverage detected