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

gametest API: can't get id item by ItemStack component

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.20.15 Hotfix
    • Unconfirmed
    • Multiple

      follow your newest document at this time on learn.minecraft.com, i can get the name of the item by ItemStack component, example: minecraft:skull. But i can't specify the id of item.

      minecraft:skull with id 0 is skeleton skull, id 1 is wither skeleton skull. I can't see difference between them by ItemStack component

      the first picture: from ItemStack
      the second picture: from ItemType
      all them return string (the name of item, not id of item (number))

        1. Capture.PNG
          Capture.PNG
          15 kB
        2. Capture2.PNG
          Capture2.PNG
          18 kB

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

              Created:
              Updated:
              Resolved: