LootBags

LootBags

31M Downloads

About spawn_egg

MoonNightShadowCookUp opened this issue · 1 comments

commented

Hi,I want to know how to add spawn_egg into white list.
my minecraft version is java edition.

get creeper spawn_egg command:
/give spawn_egg 1 33 in Bedrock Edition
/give spawn_egg 1 0 {EntityTag:{id:"minecraft:creeper"}} in Java Edition

I try to add other item. Obviously it succeeded.
But when i add spawn_egg.Configuration does not take effect,or just get useless spawn_egg
Here are some of my tests
{
minecraft:creeper_spawn_egg:0:1:1:25 (none)
minecraft:spawn_egg:0:1:1:25 (get useless spawn_egg)
minecraft:spawn_egg:33:1:1:25 (get useless spawn_egg)
minecraft:spawn_egg:0 {EntityTag:{id:"minecraft:creeper"}}:1:1:25 (none)
minecraft:spawn_egg:0:{EntityTag:{id:"minecraft:creeper"}}:1:1:25 (none)
minecraft:spawn_egg:{EntityTag:{id:"minecraft:creeper"}}:1:1:25 (none)
minecraft:spawn_egg:minecraft:creeper:1:1:25 (none)
minecraft:spawn_egg:creeper:1:1:25 (none)
}

Thank you very much for taking the time to pay attention to my problems.

commented

Use the lootbags_dumphelditem command, the eggs have nbt data associated with them.