Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-269845

/item does not follow new 'max_stack_size' item attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 24w12a
    • None
    • Unconfirmed
    • (Unassigned)

      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 @s container.0 with minecraft:diamond_sword[minecraft:max_stack_size=16] 16'

      minecraft:diamond_sword can only stack up to 1

            Unassigned Unassigned
            Pdam67 Pdam67
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: