| 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);} |
| 189 | public static ItemStack mul_(long aMultiplier, ItemStack aStack) {return amount_(aStack.stackSize * aMultiplier, aStack);} |