MCPcopy Create free account
hub / github.com/Teneted/Tenet / setAmount

Method setAmount

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

Sets the amount of items in this stack @param amount New amount of items in this stack

(int amount)

Source from the content-addressed store, hash-verified

160 * @param amount New amount of items in this stack
161 */
162 public void setAmount(int amount) {
163 this.amount = amount;
164 }
165
166 /**
167 * Gets the MaterialData for this stack of items

Callers 2

addItemMethod · 0.95
removeItemMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected