MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / amount

Method amount

src/main/java/gregapi/util/ST.java:185–185  ·  view source on GitHub ↗
(long aSize, ItemStack aStack)

Source from the content-addressed store, hash-verified

183 public static ItemStack nbt_(ItemStack aStack, NBTTagCompound aNBT) {return UT.NBT.set(aStack, aNBT);}
184
185 public static ItemStack amount (long aSize, ItemStack aStack) {return aStack == null || item_(aStack) == null ? null : amount_(aSize, aStack);}
186 public static ItemStack amount_(long aSize, ItemStack aStack) {return size_(aSize, copy_(aStack));}
187
188 public static ItemStack mul (long aMultiplier, ItemStack aStack) {return aStack == null || item_(aStack) == null ? null : mul_(aMultiplier, aStack);}

Callers 15

onItemTooltipMethod · 0.95
generatePermutationsMethod · 0.95
getStackMethod · 0.95
setTarget_Method · 0.95
getFirstOreMethod · 0.95
getStackMethod · 0.95
getStack_Method · 0.95
setItemData_Method · 0.95
registerOre_Method · 0.95
onOreRegistrationMethod · 0.95
onTickWorldMethod · 0.95
getContainerItemMethod · 0.95

Calls 2

item_Method · 0.95
amount_Method · 0.95

Tested by

no test coverage detected