middleClickWindow

fun middleClickWindow(windowId: Int, index: Int)

Middle clicks the specified slot.