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

Items from /give are detected by commands for 1 tick

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21
    • None
    • Confirmed
    • Commands, Items
    • Low
    • Platform

      The item spawned by a /give command can be detected by commands for a single server tick after the command is run

      Steps to reproduce:

      1. Create and empty world with no item entities
      2. Place and power a repeating command block with the command "execute as @e[type=item] run say hello"
      3. /give yourself any item

      Observed result:
      hello is printed once.

      Expected result:
      hello is not printed at all.

            Unassigned Unassigned
            bolo374 bolo374
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: