findRebar

Finds a Rebar item in this inventory. Use this to find Rebar items instead of traditional find methods, because this will compare Rebar IDs.

Return

The slot containing the item, or null if no item was found

Parameters

targetItem

The item to find. Items will be compared by their Rebar ID