make

static boolean make(Array<int> id)

Attempts to make an item with the specified id

Return

true if the item was selected successfully, false otherwise

Parameters

id

the item id

static boolean make(Array<String> name)

Attempts to make an item with the specified name

Return

true if the item was selected successfully, false otherwise

Parameters

name

the item name

static boolean make(Predicate<Item> filter)

Attempts to make an item matching the filter

Return

true if the item was selected successfully, false otherwise

Parameters

filter

the item filter