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

Testfor command doesn't work for offhand slot (99), nor for crafting grid.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 15w31b, Minecraft 15w36c, Minecraft 15w42a
    • None
    • Unconfirmed

      When i execute replaceitem for slot.weapon.offhand with pumpkin it tells me that slot 99 is replaced, but command testfor for slot 99 doesn't find item in it.
      To reproduce:
      /replaceitem entity @p slot.weapon.offhand minecraft:pumpkin
      output: Replaced slot 99 with 1 * [Pumpkin]
      /testfor @p {Inventory:[

      {Slot:99b,id:"minecraft:pumpkin"}

      ]}
      output: [nick] did not match required data structure

            Unassigned Unassigned
            Toboe_Irbis [Helper] MichaƂ
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: