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

Method smash

src/main/java/gregapi/data/RM.java:261–266  ·  view source on GitHub ↗
(ItemStack aObject, ItemStack aOutput)

Source from the content-addressed store, hash-verified

259 return T;
260 }
261 public static boolean smash(ItemStack aObject, ItemStack aOutput) {
262 if (ST.invalid(aObject) || ST.invalid(aOutput)) return F;
263 Hammer .addRecipe1(T, 16, 16, aObject, aOutput);
264 Crusher.addRecipe1(T, 16, 32, aObject, aOutput);
265 return T;
266 }
267 public static boolean smash(ItemStack aObject, ItemStack aOutput, long aAmount) {
268 if (ST.invalid(aObject) || ST.invalid(aOutput)) return F;
269 Hammer .addRecipe1(T, 16, 16, aObject, ST.amount(aAmount, aOutput));

Callers 12

compactsmashMethod · 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
onPostLoadMethod · 0.95
runMethod · 0.95
runMethod · 0.95

Calls 3

invalidMethod · 0.95
amountMethod · 0.95
addRecipe1Method · 0.80

Tested by

no test coverage detected