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

Replaceitem does not replace player inventory while viewing a container

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 16w41a, Minecraft 16w42a
    • None
    • Confirmed

      When using replaceitem on a player who is viewing a container, the item will not be placed in their inventory.

      To test:

      1. Make sure you are looking in a chest
      2. Have a command block run (or another player run)

       /replaceitem entity @a slot.armor.head stone 

      3. Exit chest to see the item did not get placed on your head.

      Quoted from Maxaxik:
      "In gamemode 2 it acts like an invisible item in the head slot, you can relog or put on a helmet to get the stone item.
      In gamemode 1 it's acting up, relogging shows the item, but putting on a helmet makes it disappear."

            Unassigned Unassigned
            onnowhere Onnowhere
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: