dropToBlockReplace

fun dropToBlockReplace(block: BlockPos, i: Int, j: Int, itemStacks: List<ItemStack>)

Replace a range of slots in a container block with given item stacks.

Parameters

block

container position

i

start slot index

j

number of slots to replace

itemStacks

list of ItemStacks to place (shorter lists fill with empty)