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

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Invalid
    • Affects Version/s: Minecraft 15w31b, Minecraft 15w36c, Minecraft 15w42a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Toboe_Irbis MichaƂ
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: