deliver

fun deliver(item: ItemStack, onComplete: (Boolean) -> Unit = {})

Attempts to place item into a catch-all container.

Parameters

onComplete

receives true when the item (or all of it) was accepted, false when every configured target refused it. Always invoked exactly once, on the main thread.