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

Items which are modified to have a higher count than their max_stack_size render their count incorrectly outside of the player's inventory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • 1.20.5 Pre-Release 3, 1.20.5 Pre-Release 4
    • None
    • Confirmed
    • Commands, Items

      1. Place an item into the first slot of a chest
      2. Run /data modify block <pos> Items[0].count set value 99
      3. Observe that when you run /data get block <pos> Items[0].count it states that it is 99, but when you open the chest it only shows as 1
      4. Run /item replace entity @s weapon.mainhand from block <pos> container.0
      5. Observe that the item count is correctly displayed while the item is in your inventory, or in your cursor.

            Unassigned Unassigned
            Deoxyribonucleic Evans DorkOrc
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: