MCPcopy Create free account
hub / github.com/Card-Forge/forge / add

Method add

forge-core/src/main/java/forge/util/ItemPool.java:196–198  ·  view source on GitHub ↗
(final T item)

Source from the content-addressed store, hash-verified

194 }
195
196 public void add(final T item) {
197 add(item, 1);
198 }
199
200 public void add(final T item, final int amount) {
201 if (item == null || amount <= 0) { return; }

Callers 15

activateSelectedItemMethod · 0.95
getAllowedAdditionsMethod · 0.95
refreshMethod · 0.95
getSelectedItemPoolMethod · 0.95
createFromMethod · 0.95
addAllFlatMethod · 0.95
addAllMethod · 0.95
addAllOfTypeFlatMethod · 0.95
addAllOfTypeMethod · 0.95
getFilteredPoolMethod · 0.95
generateBasicLandsMethod · 0.95
buyMethod · 0.95

Calls 1

mergeMethod · 0.45

Tested by

no test coverage detected