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

"minecraft:block" item component removes item from commands

XMLWordPrintable

    • Unconfirmed
    • Multiple

      When you add the "minecraft:block" item component to an item (for example: 
      "minecraft:block": "minecraft:glass",) then the item is not available in commands and can only be obtained with an NBT Editor or the Scripting API, the item component actually does work, and it does change the item icon to that of the block that was set. Please fix this as this item component is extremely useful so it can have the same icon as a block. 
      Steps To Reproduce:  

      1. Make an addon that adds an item with this item component: "minecraft:block": "minecraft:glass",
      2. Go on a world with the addon and try to /give yourself the item. 
      3. remove the component and go on the world and get the item
      4. then re-add the component and you will see that you still have the item even though it is not available in commands and also you will see that it has the icon of a glass block. 

      Observed Results: 

      The item is not available with commands but does still work and can be obtained with an NBT Editor

      Expected Results: 

      The item should still be available in commands. 

      Attachments

            Andexter 8Crafter
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: