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

The "minecraft:inventory_changed" advancement trigger triggers once or multiple times when opening the inventories of non-player entities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21, 1.21.1, 24w38a
    • None
    • Community Consensus
    • Advancements, Data Packs
    • Normal
    • Platform

      The Bug:

      The "minecraft:inventory_changed" advancement trigger triggers once or multiple times when opening the inventories of non-player entities.

      Steps to Reproduce:

      1. Install the attached data pack. MC-273770.zip
      2. Place an item in your inventory from the creative inventory and notice how the "minecraft:inventory_changed" advancement trigger is correctly triggered.
      3. Summon a camel and while shifting, right-click the camel to open its inventory.
      4. Observe if or how many times the "minecraft:inventory_changed" advancement trigger was triggered.

      Observed Behavior:

      The "minecraft:inventory_changed" advancement trigger triggers once or multiple times when opening the inventories of non-player entities.

      Expected Behavior:

      The "minecraft:inventory_changed" advancement trigger would not trigger at all when opening the inventories of non-player entities as no changes have been made to your player's inventory.

        1. image-2024-06-23-20-25-19-399.png
          353 kB
          Viradex

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: