getCount

static int getCount(Array<int> id)

Counts the stacks of all items with the specified ids

Return

the sum of all item stacks with the specified ids

Parameters

id

the item ids

static int getCount(Array<String> name)

Counts the stacks of all items with the specified names

Return

the sum of all item stacks with the specified names

Parameters

name

the item ids

static int getCount(Predicate<EquipmentItem> filter)

Counts the stacks of all items matching the specified filter

Return

the sum of all item stacks matching the specified filter

Parameters

filter

the item filter