Calculates the number of full stacks and remaining items for a given quantity of an item in Minecraft.