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

Method compactunpack

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

Source from the content-addressed store, hash-verified

277 return compact(aContent, aAmount, aFull) && smash(aFull, aContent, aAmount);
278 }
279 public static boolean compactunpack(ItemStack aContent, ItemStack aFull) {
280 return compact(aContent, aFull) && unpack(aFull, aContent);
281 }
282 public static boolean compactunpack(ItemStack aContent, long aAmount, ItemStack aFull) {
283 return compact(aContent, aAmount, aFull) && unpack(aFull, ST.amount(aAmount, aContent));
284 }

Callers 5

onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
addItemsMethod · 0.95
runMethod · 0.95

Calls 3

compactMethod · 0.95
unpackMethod · 0.95
amountMethod · 0.95

Tested by

no test coverage detected