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

item_used_on_block don't trigger with every items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.19
    • None
    • Minecraft Java on Windows 10
    • Unconfirmed
    • (Unassigned)

      When you use the item_used_on_block trigger in advancements, it does'nt trigger for all items: 
      Here the advancement for flint_and_steel and the reward function:
      flint_and_steel.json flint_and_steel.mcfunction
      This totally work as intented, the player who click on a cobblestone say the message in chat, but with diamond_sword it does'nt work :
      diamond_sword.json diamond_sword.mcfunction
       
      Here the datapack that i'm using for the report : report.zip
       
       

        1. report.zip
          3 kB
        2. flint_and_steel.mcfunction
          0.1 kB
        3. flint_and_steel.json
          0.4 kB
        4. diamond_sword.mcfunction
          0.1 kB
        5. diamond_sword.json
          0.4 kB

            Unassigned Unassigned
            AirDox_ AirDox_
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: