Some code insight: It happened because `ItemStack` does not support `equals`, messing up `Optional<ItemStack>::equals` and therefore stacks with the same food data with container will not stack.
One solution is to override `FoodProperties::equals`. Another is to implement `ItemStack::equals`
Some code insight:
It happened because `ItemStack` does not support `equals`, messing up `Optional<ItemStack>::equals` and therefore stacks with the same food data with container will not stack.
One solution is to override `FoodProperties::equals`. Another is to implement `ItemStack::equals`