Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-161747

[Gametest] No Way To Check Other Inventory Slots?

XMLWordPrintable

    • Plausible
    • Multiple

      Please correct me if I'm wrong as I'm just starting to learn the scripting framework, but there is no way to check slots other than the inventory itself as in no offhand slot test or armor slot tests as the inventory returns a size of 36 for players which excludes the 4 armor slots and the 1 offhand slot.

      If so this seems like a major oversight.

      Steps To Reproduce:

      • Set up a script to get the players components
      • Observe under 'inventory' the size is 36

      Observed Results:

      • There is no way to alter or check armor or the offhand slots using the gametest framework

      Expected Results:

      • There is a direct way to check the other inventory slots or the inventory size reflects these extra slots in addition to the base 36 slots.

            Gruntastic Gruntastic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: