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

Method pack

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

Source from the content-addressed store, hash-verified

221
222
223 public static boolean pack(ItemStack aContent, ItemStack aFull) {
224 if (ST.invalid(aFull) || ST.invalid(aContent)) return F;
225 Boxinator.addRecipe2(T, 16, 16, aContent, ST.tag(aContent.stackSize), aFull);
226 return T;
227 }
228 public static boolean pack(ItemStack aContent, long aAmount, ItemStack aFull) {
229 if (ST.invalid(aFull) || ST.invalid(aContent)) return F;
230 Boxinator.addRecipe2(T, 16, 16, ST.amount(aAmount, aContent), ST.tag(aAmount), aFull);

Callers 11

packunpackMethod · 0.95
stoneshapesMethod · 0.95
stonetypesMethod · 0.95
runMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
onPostLoadMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95

Calls 4

invalidMethod · 0.95
tagMethod · 0.95
amountMethod · 0.95
addRecipe2Method · 0.80

Tested by

no test coverage detected