Malorolam / LootBags

Other
21 stars 32 forks source link

About spawn_egg #195

Open MoonNightShadowCookUp opened 5 years ago

MoonNightShadowCookUp commented 5 years ago

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.

Malorolam commented 5 years ago

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