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

Method packunpack

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

Source from the content-addressed store, hash-verified

237 return T;
238 }
239 public static boolean packunpack(ItemStack aContent, ItemStack aFull) {
240 return pack(aContent, aFull) && unpack(aFull, aContent);
241 }
242 public static boolean packunpack(ItemStack aContent, long aAmount, ItemStack aFull) {
243 return pack(aContent, aAmount, aFull) && unpack(aFull, ST.amount(aAmount, aContent));
244 }

Callers 9

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

Calls 3

packMethod · 0.95
unpackMethod · 0.95
amountMethod · 0.95

Tested by

no test coverage detected