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

Commands accepting stack sizes are restricted to a maximum of 64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w14a
    • 24w12a, 24w13a
    • None
    • Confirmed
    • Commands
    • Important
    • Platform

      Despite the new maximum stack size being 99 with the introduction of the minecraft:max_stack_size item stack component, several commands are arbitrarily restricted to the old maximum stack size of 64.

      Affected commands include:

      • /item replace block <pos> <slot> with <item> <count>
      • /item replace entity <targets> <slot> with <item> <count>

      I would expect these commands to use a maximum stack size specific to the item for stack sizes 65 through 99, as other instances already do. For example, attempting to replace a slot with a oak boat with count 2 produces the error 'minecraft:oak_boat can only stack up to 1'. Instead, the error 'Integer must not be more than 64, found 99' is produced.

            gegy1000 [Mojang] Gegy
            haykam haykam
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: