getCount

static int getCount(Array<int> itemId)

Sums the item stacks of the bank items with the specified item ids

Return

the sum of the item stacks of items with the specified ids

Parameters

itemId

the item ids

static int getCount(Array<String> name)

Sums the item stacks of the bank items with the specified item names

Return

the sum of the item stacks of items with the specified names

Parameters

name

the item names

static int getCount(Predicate<Item> filter)

Sums the item stacks of the bank items matching the specified filter

Return

the sum of the item stacks of items matching the specified filter

Parameters

filter

the item filter