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

Method mul

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

Source from the content-addressed store, hash-verified

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);}
189 public static ItemStack mul_(long aMultiplier, ItemStack aStack) {return amount_(aStack.stackSize * aMultiplier, aStack);}
190
191 public static ItemStack div (long aDivider, ItemStack aStack) {return aStack == null || item_(aStack) == null ? null : div_(aDivider, aStack);}

Callers 3

mulMethod · 0.95
onBlockActivated2Method · 0.95
runMethod · 0.95

Calls 2

item_Method · 0.95
mul_Method · 0.95

Tested by

no test coverage detected