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

Odd behavior when items are taken out of creative inventory and immediately changed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.2 Pre-Release 3
    • None
    • Unconfirmed
    • (Unassigned)

      Description:
      When taking items out of the creative inventory, it appears as though the item will be continuously "given" to the player until the exact correct item is in the slot the player placed it in, or the player exits the inventory screen. This creates buggy behavior if the item/slot is immediately changed (ex: manipulated through the 'minecraft:inventory_changed' advancement trigger.)

      To reproduce:
      1. Create an advancement with the 'minecraft:inventory_changed' trigger that executes any function (x) that would change an item when received by the player. (no direct example given as implementation is unimportant).

      2. Drag an item (T) from the creative inventory into any hotbar slot (S).

      Expected behavior:
      The item T is given and immediately changed according to the function x.

      Result behavior:
      Slot S is continuously replaced with item T until slot S exactly matches item T, regardless of what function x does.

      Aside:
      I experience a very bug similar to this in 1.21.1 where slot S would sometimes be replaced with T one additional time, however that bug is much less severe and consistently reproducible than the one being reported.

            Unassigned Unassigned
            GlobbyLikesSlime Ryan Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: