pub(crate) fn apply_use_remainder(
original_stack: &ItemStack,
used_stack: ItemStack,
user: &dyn LivingEntity,
) -> ItemStackExpand description
Applies vanilla UseRemainder.convertIntoRemainder: if the original stack
had a use_remainder and was actually consumed, either swap the fully
emptied stack for the remainder, or — for a stack that still has items
left (e.g. one honey bottle out of several)