TransWikia.com

A minecraft command that gives you a villager spawn egg with custom trades 1.16

Arqade Asked by Leo9002 on November 24, 2020

I want to make an overpowered kit that uses one command and I need the custom trade villager to be in a pre-filled chest and I’ve tried

/give @p chest{BlockEnityTag:{Items:[{Slot:2,id:villager_spawn_egg,Count:127,tag:{EntityTag:{VillagerData:{profession:armorer,level:5,type:plains},Offers:{Recipes:[{buy:{id:stick,Count:1},sell:{id:emerald_block,Count:64},maxUses:9999999},{buy:{id:emerald,Count:1},sell:{id:stick,Count:64},maxUses:9999999},{buy:{id:stick,Count:1},sell:{id:paper,Count:64},maxUses:9999999},{buy:{id:stick,Count:1},sell:{id:gunpowder,Count:64},maxUses:9999999},{buy:{id:stick,Count:1},sell:{id:oak_log,Count:64},maxUses:9999999},{buy:{id:stick,Count:1},sell:{id:netherite_block,Count:64},maxUses:9999999}]}}}}]}} 1

it seems to be working but it gives nothing in the chest and I’m not sure if it can be done and I have a summon command for the villager

/summon villager ~ ~1 ~ {VillagerData:{profession:armorer,level:5,type:plains},Offers:{Recipes:[{buy:{id:stick,Count:1},sell:{id:emerald_block,Count:64},maxUses:9999999},{buy:{id:emerald,Count:1},sell:{id:stick,Count:64},maxUses:9999999},{buy:{id:stick,Count:1},sell:{id:paper,Count:64},maxUses:9999999},{buy:{id:stick,Count:1},sell:{id:gunpowder,Count:64},maxUses:9999999},{buy:{id:stick,Count:1},sell:{id:oak_log,Count:64},maxUses:9999999},{buy:{id:stick,Count:1},sell:{id:netherite_block,Count:64},maxUses:9999999}]}}

both with the chest command

/give @p chest{BlockEnityTag:{Items:[{Slot:2,id:villager_spawn_egg,Count:127}]}} 1

and Count:127 is possible I checked

One Answer

You mispelled BlockEntityTag as BlockEnityTag.

Correct answer by pppery on November 24, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP