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

Method div

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

Source from the content-addressed store, hash-verified

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);}
192 public static ItemStack div_(long aDivider, ItemStack aStack) {return amount_(aStack.stackSize / aDivider, aStack);}
193
194 public static ItemStack validMeta (long aSize, ItemStack aStack) {return aStack == null || item_(aStack) == null ? null : validMeta_(aSize, aStack);}

Callers 1

divMethod · 0.95

Calls 2

item_Method · 0.95
div_Method · 0.95

Tested by

no test coverage detected