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

Method pulverizing

src/main/java/gregapi/data/RM.java:971–971  ·  view source on GitHub ↗
(ItemStack aInput, ItemStack aOutput1)

Source from the content-addressed store, hash-verified

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
971 public static boolean pulverizing(ItemStack aInput, ItemStack aOutput1) {return pulverizing(aInput, aOutput1, null, 0, F);}
972 public static boolean pulverizing(ItemStack aInput, ItemStack aOutput1, ItemStack aOutput2) {return pulverizing(aInput, aOutput1, aOutput2, 100, F);}
973 public static boolean pulverizing(ItemStack aInput, ItemStack aOutput1, ItemStack aOutput2, int aChance) {return pulverizing(aInput, aOutput1, aOutput2, aChance, F);}
974 public static boolean pulverizing(ItemStack aInput, ItemStack aOutput1, boolean aOverwrite) {return pulverizing(aInput, aOutput1, null, 0, aOverwrite);}

Callers 11

onModPreInit2Method · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
runMethod · 0.95
runMethod · 0.95
onOreRegistrationMethod · 0.95
runMethod · 0.95
runMethod · 0.95
onOreRegistrationMethod · 0.95

Calls 15

invalidMethod · 0.95
validMetaMethod · 0.95
get_Method · 0.95
getMethod · 0.95
ingredableMethod · 0.95
te_sawmillMethod · 0.95
copyMethod · 0.95
blockMethod · 0.95
amountMethod · 0.95
meta_Method · 0.95

Tested by

no test coverage detected