mojira.dev
MC-274386

max_stack_size broken with other components through loot tables

When giving a player an item through a loot table, if that item has the max_stack_size component and the "food" component (possibly others as well), and that food component contains a using_converts_to tag, the item stack will be broken upon splitting.

Example code in the provided file.

Linked issues

Attachments

Comments 3

Would MC-272643 describe your issue? If not, please add any necessary commands, (completed and functional) datapack(s), and clear steps to reproduce the issue.

@Jiingy yeah, it appears so. Thank you for the link through! I had looked for a moment to try to find if this was a duplicate and couldn't figure it.

No problem🙂

Athesiel

(Unassigned)

Unconfirmed

(Unassigned)

1.21

Retrieved