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

Unable to target Lapis as a "spawn_item" within the component "minecraft:spawn_entity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.13.0.6 Beta
    • None
    • Unconfirmed
    • Windows

      In my addon I have a component group that uses "Minecraft:spawn_entity". Within "Minecraft:spawn_entity", there's a parameter for "spawn_item". I have been able to target a variety of different items, but cannot successfully target the Lapis item. Here's the example code:

      "minecraft:spawn_entity":

      {      "min_wait_time": 10,      "max_wait_time": 30,      "spawn_sound": "plop,      "spawn_item": "egg" }

       

      I can successfully spawn Coal, Iron Nuggets, Gold Nuggets, Redstone, Glowstone (block), diamonds, emeralds, but I cannot target lapis. In other recipes, I see lapis being targeted using a dye data value:

      {      "item": "minecraft:dye",      "data": 4 }

       

      Using this in the "spawn_item" crashes the game. I've also tried simply using "dye:4", which only returns "black dye". Any data value with dye, only spawns the black dye. Using "minecraft:lapis_lazuli" also crashes the game.

       

       

       

            Kohldar Jon Engstrom
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: