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

Method array

src/main/java/gregapi/util/ST.java:348–348  ·  view source on GitHub ↗
(ItemStack... aStacks)

Source from the content-addressed store, hash-verified

346 public static ItemStackSet<ItemStackContainer> hashset(ItemStack... aStacks) {return new ItemStackSet<>(aStacks);}
347 public static ArrayListNoNulls<ItemStack> arraylist(ItemStack... aStacks) {return new ArrayListNoNulls<>(F, aStacks);}
348 public static ItemStack[] array(ItemStack... aStacks) {return aStacks;}
349 public static ItemStack[] array(int aLength) {return new ItemStack[aLength];}
350
351 public static ItemStack make_(Item aItem , long aSize, long aMeta) {return new ItemStack(aItem , UT.Code.bindInt(aSize), UT.Code.bindShort(aMeta));}

Callers 15

onClientTickEventMethod · 0.95
generatePermutationsMethod · 0.95
lootbagMethod · 0.95
WorldgenOresBedrockMethod · 0.95
stonetypesMethod · 0.95
onOreRegistrationMethod · 0.95
addRecipe1Method · 0.95
addRecipe2Method · 0.95
addRecipeXMethod · 0.95
addRecipe0Method · 0.95
findRecipeMethod · 0.95
addFuelMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected