mojira.dev
MC-269845

/item does not follow new 'max_stack_size' item attribute

The new 'max_stack_size' item attribute does not support the new stack sizes that can be assigned to items.

For example when running this command '/item replace entity @s container.0 with minecraft:apple[minecraft:max_stack_size=99] 99' theΒ  command throws an error saying :

Integer must not be more than 64, found 99

..._size=99] 99<--[HERE]

This command fails even though the item i'm replacing has the 'max_stack_size' attribute increased above 99.

The same also happens with single stackable items or items with a lower 'max_stack_size' by default

For example when running this command '/item replace entity @scontainer.0 with minecraft:diamond_sword[minecraft:max_stack_size=16] 16'

minecraft:diamond_sword can only stack up to 1

Linked issues

Comments 1

Thank you for your report!
We're actually already tracking this issue in MC-269684 and MC-269700, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote or any additional information to the main tickets it would be appreciated.

Please be sure to use the search feature before creating a ticket to see if the issue has already been reported.

Quick Links:
πŸ“— Tracker Guidelines | πŸ›  Community Support | πŸ“§ Mojang Support | πŸ”‘ Account Support | ✍️ Feedback Discord

Pdam67

(Unassigned)

Unconfirmed

(Unassigned)

24w12a

Retrieved