MCPcopy Create free account
hub / github.com/Bukkit/Bukkit / getAmount

Method getAmount

src/main/java/org/bukkit/inventory/ItemStack.java:103–105  ·  view source on GitHub ↗

Gets the amount of items in this stack @return Amount of items in this stick

()

Source from the content-addressed store, hash-verified

101 * @return Amount of items in this stick
102 */
103 public int getAmount() {
104 return amount;
105 }
106
107 /**
108 * Sets the amount of items in this stack

Callers 3

toStringMethod · 0.95
equalsMethod · 0.95
hashCodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected