contains

static boolean contains(Array<int> itemId)

Determines if the bank contains the given itemId by looking through the banking interface.

Return

True if the banking interface contains the itemId. False if the bank isn't open or doesn't contain the item.

Parameters

itemId

The id of the item that is checked.

static boolean contains(Array<String> name)

Checks if any bank item exists with the specified name

Return

true if any bank item exists with the specified name, false otherwise

Parameters

name

the item name

static boolean contains(Predicate<Item> filter)

Checks if any bank item exists matching the specified filter

Return

true if any bank item exists with the specified name, false otherwise

Parameters

filter

the item filter