findType

Finds an item of the right type in this inventory. Use this to find items purely based on Vanilla / Rebar IDs.

Return

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

Parameters

targetType

The type to find. Items will be compared by their Vanilla / Rebar ID