Mojira Archive
MCPE-50916

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

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.

 

 

 

Invalid

Jon Engstrom

2019-08-22, 10:12 PM

2019-10-25, 02:11 PM

2019-10-25, 02:11 PM

0

1

Unconfirmed

1.13.0.6 Beta

-