mojira.dev
MC-269642

Eating an oversized Soup / Stew resets the stack size to 1

Minecraft snapshot 24w12a introduces the max_stack_size item component which allows the creation of oversized stacks. Since oversizing seems to now be a supported feature, I would expect all behaviors to support oversized stacks. Eating oversized rabbit_stew, suspicious_stew, mushroom_stew or beetroot_soup results in item loss.

Steps to reproduce

1. Run the following command: 

/give @s minecraft:beetroot_soup[minecraft:max_stack_size=99] 99

2. Eat the obtained soup.

3. Notice that the result is a single bowl, rather than 98 soups and 1 bowl as expected
 

Linked issues

Comments 8

I can also confirm. Mushroom stew is also affected in addition to the other 3 soups and stews mentioned in this issue.

The same will happen to custom stack sized knowledge books.

/give @s minecraft:knowledge_book[minecraft:recipes=["minecraft:acacia_boat"],minecraft:max_stack_size=64] 64

Using the knowledge book in survival will consume the entire stack instead of just one.

Can confirm: the same issue occurs with consuming oversized milk buckets.

I think the issue can be easily replicated by trying to consume any oversized item that would normally give you another, such as stews.

related to MC-45212, in fact, they're literally the same report. however, MC-45212 is invalid while this bug is not because back in that time, overstack items aren't supported while now it is.

Milk buckets are kind of similar they don't give you the empty bucket unless its the last one.

In 1.20.5 release candidate 1.

DrexHD

gegy

Confirmed

Platform

Low

Commands, Items

1.20.4, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 3

24w19a

Retrieved