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

Using /loot in functions creates invisible items until used manually ingame

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.18.1
    • None
    • Java 17
      Windows 10
      Creative World
      See attachments for data pack used
    • Unconfirmed
    • (Unassigned)

      Using a function file I tried to call "loot give @s loot <loot table> which gave me an invisible item that took up a slot in my inventory. I tried executing the same function file over and over with no results. My inventory updated once I called the loot table myself ingame and gave me every item that I had called each time.

      Strangely it doesn't update if my inventory changes in any other way (eg, calling a different loot table, even manually), and the space in my inventory will still be taken up

      This may be related to MC-197349

            Unassigned Unassigned
            DylanTheSpud Dylan Lewis
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: