Replace ItemStack in a Container
The ItemStack or ItemStack.typeId to be replaced. if it's undefined, every empty slot will be filled.
the new ItemStack. if it's undefined, the matched slot will be cleared.
the Container which will be searched.
Replace ItemStack in a Container