getSlot

fun Filter.getSlot(blocks: Set<Block>, offhand: Boolean = true): HotbarItemSlot?