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

Item stacks >127 items are invisible

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.17
    • None
    • Unconfirmed
    • (Unassigned)

      I know this is a niche bug, but item stacks with >127 items go invisible clientside, while still being able to be picked up serverside.

      Steps to reproduce:

      1) Start a server, start a client

      2) Somehow spawn in a stack of 127 items, then spawn in a stack of 128. Only one will be visible.

       

      Video attached shows off the issue. Keep in mind this was achieved with modded server software to allow item merging to infinite stack sizes. I stopped after reaching 128 items.

      Please do not close this issue because I reproduced it on a modded server.

       

      Update: according to the code I work in, stack sizes are saved and transmitted as signed bytes, whereas they are during runtime stored as integers.

            Unassigned Unassigned
            TheArcaneBrony TheArcaneBrony
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: