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

Changing inventory with an inventory_changed advancement function reward doesn't update client

XMLWordPrintable

    • Confirmed

      Summary

      Attached is a ZIP file containing an advancement and a function. The advancement simply triggers for any inventory_changed, and rewards the player with the function.
      The function updates the player's inventory. This behavior can be observed when the function clears the player's inventory or puts items there with /replaceitem. The function lastly revokes the advancement so it can be earned again.

      Upon updating the inventory, the changes are not applied client-side. That is, if the player's inventory was cleared, it would still appear to contain ghost items. If the player was given items, they would not appear until the slot were updated somehow.

            Unassigned Unassigned
            Panossa Panossa YT
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: