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

Loading item with stack size outside of range 1-64 completely disregards item

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 24w09a
    • None
    • Unconfirmed
    • Commands

      Trying to load a previously stack size of 64 for unstackable items gives this:

      [21:36:03] [Server thread/ERROR]: Tried to load invalid item: 'Item stack with stack size of 64 was larger than maximum: 1'

      Instead of limiting the count to the max_stack, it just does not load the item at all.

       

      Steps to reproduce:

      Use an older version of Minecraft to generate an item stack with more items than max_stack_size.

      E.g. 64 diamond swords. Make sure this item stack is inside a shulker box or bundle.

      In 24w09a, load the world. Your item stack will be gone.

       

      I have not confirmed this in scenarios such as enderchest, or directly in inventory, saved hotbar, chests or other inventories.

            Unassigned Unassigned
            m124367 AgentM
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: