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

Method compact

src/main/java/gregapi/data/RM.java:247–253  ·  view source on GitHub ↗
(ItemStack aContent, ItemStack aFull)

Source from the content-addressed store, hash-verified

245
246
247 public static boolean compact(ItemStack aContent, ItemStack aFull) {
248 if (ST.invalid(aFull) || ST.invalid(aContent)) return F;
249 Boxinator .addRecipe2(T, 16, 16, aContent, ST.tag(aContent.stackSize), aFull);
250 Compressor.addRecipe1(T, 16, 16, aContent, aFull);
251 ic2_compressor(aContent, aFull);
252 return T;
253 }
254 public static boolean compact(ItemStack aContent, long aAmount, ItemStack aFull) {
255 if (ST.invalid(aFull) || ST.invalid(aContent)) return F;
256 Boxinator .addRecipe2(T, 16, 16, ST.amount(aAmount, aContent), ST.tag(aAmount), aFull);

Callers 10

compactsmashMethod · 0.95
compactunpackMethod · 0.95
glowstoneMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
onOreRegistrationMethod · 0.95
runMethod · 0.95

Calls 6

invalidMethod · 0.95
tagMethod · 0.95
ic2_compressorMethod · 0.95
amountMethod · 0.95
addRecipe2Method · 0.80
addRecipe1Method · 0.80

Tested by

no test coverage detected