Good evening and I'm looking for someone who can help me:
It's about me wanting to know how to spawn a villager in minecraft (bedrock edition) because my command doesn't work
/ summon villager ~ ~ 1 ~ {Profession: 0, Offers: {Recipes: [{rewardExp: 0b, maxUses: 2147483647, uses: 0, buy: {id: "minecraft: emerald_ore", Count: 6b}, sell: { id: "minecraft: tnt", Count: 32b, tag: {display: {Name: "Test TNT"}}}}]}}
Second question is how do I get it when I write in a command block: / clear @p stone 0 10 remove it 10 stone if I have 64 but it also removes 1 if I only have 1 but I want it to be removed only if I also have at least the 10 stone
There are command generators for that.
https://www.digminecraft.com/generators/villager_trade.php
respectively
https://www.digminecraft.com/generators/index.php
Note that you have to switch from the Java Edition to Bedrock Edition in the tab.
Thank you, I'll give it a try and let me know if it worked!
I believe that you can only make custom Villagertrades in the Java Edition without going into the game files.
As soon as I switch to bedrock, there's unfortunately no longer an option for the villager command generator, which means that it is not possible for the bedrock edition anyway thanks!