How To Make Custom Villager Trades Without Mods In Minecraft Bedrock Edition

Поділитися
Вставка
  • Опубліковано 24 січ 2025

КОМЕНТАРІ • 199

  • @VIPmanYT
    @VIPmanYT  Рік тому +32

    For the shop part you can also add extra commands to ensure the player executing the command gets the item and pays for it
    Such as adding a tag in the npc then removing it at the end of the chain
    Or maybe using execute if entity or something
    But I didn’t wanna make the video even longer as realised it’s already quite long and confusing for new players

    • @ElementZ2022
      @ElementZ2022 Рік тому +4

      It doesn’t work for me because if I don’t have the diamonds I can still get the emerald for free same with the other way around and with any other custom trade, can you fix this please?

    • @Louis-ex9hq
      @Louis-ex9hq Рік тому

      I have another problem...
      The Npc takes my emeralds and gives me no diamonds

    • @ElementZ2022
      @ElementZ2022 Рік тому

      @@Louis-ex9hq yeah that happens to me too

    • @MonitorHead247
      @MonitorHead247 Рік тому

      How abt that adventure tool? That u can break certain block?

    • @ElementZ2022
      @ElementZ2022 Рік тому

      @Zong_The_Fox I used to use it all the time but after they updated the commands I just stayed away from them because they are different now

  • @WGasmss
    @WGasmss Рік тому +20

    It’s like I’m about to start doing NPC for my private realm and boom you drop a vid, so glad I found your videos the other week when I was searching for command tutorials you and like 3 others have actual good videos that WORK

  • @Xiannio
    @Xiannio Рік тому +6

    Hello, thank you for this wonderful tutorial.
    It has been helpful for my world to have this. But as experiment goes success. I found that the scoreboard thing can still function in the npc system that made it easier and saved up space. Thank you so much for showing that npc mob existed.

  • @fusion1203
    @fusion1203 Місяць тому +2

    Do you know if there’s a way to make levels? Like you must reach a level to be able to unlock future trades? I want to make an arena and the mobs only drops 1 of the currency (emeralds) but make it be that they must beat a certain amount of waves to be able to then trade for better items

  • @mrflipflop9477
    @mrflipflop9477 Рік тому +128

    give @initiator[hasitem={item=diamond,quantity=2..}] emerald 1 clear @initiator[hasitem={item=diamond,quantity=2..}] diamond 0 2

  • @fusion1203
    @fusion1203 Місяць тому

    4:40 how can I make scoreboard go up whenever you pick up a specific item? And make it go down when they trade with the npc and lose that item? And how do I give points to whoever killed a mob?

  • @linkmaster555
    @linkmaster555 Рік тому +12

    Just gotten the hang of doing the shop system using the old execute commands and blocks. Now they go and change it, and for some reason I can't get this to work.... Screwed up my whole realm....

  • @banoffee_pies
    @banoffee_pies Рік тому +5

    When I use an item that has two words in it, for example iron ingot, it doesn’t work. I have tried many different things, like using _ to separate the words but it just isn’t working. Is there anything I am doing wrong?

    • @Marble_Mania17
      @Marble_Mania17 Рік тому +1

      Same, I’m making bedwars and when I try to make a iron for wool trade I can’t use iron ingots

    • @ItsDeegss
      @ItsDeegss Рік тому +1

      Did you ever figure it out???

    • @Hippie_Chicken
      @Hippie_Chicken Рік тому

      ​@rowan-jw9id I'm doing the same thing and it is not working for me either even with one word items.

    • @BP0482
      @BP0482 Рік тому +3

      give @initiator[hasitem={item=iron_ingot,quantity=?quantity?..}] ?item? ?quantity?
      The question marks are for you to add an amount 😊

    • @ashleyfriendofficialdev
      @ashleyfriendofficialdev Рік тому

      Guys, just put it like this: "iron ingot"

  • @crimsonshadowz1008
    @crimsonshadowz1008 Рік тому +7

    I was trying to do this and for some reason it didn't work at all? I know this video is a little old but could the version of the game cause this? Can experiments break this?

    • @Fivenightplayz6644
      @Fivenightplayz6644 3 місяці тому

      I am t 1.21.31.04 and it still works maybe u should disable experiments or u just got the command wrong

    • @crimsonshadowz1008
      @crimsonshadowz1008 3 місяці тому

      @@Fivenightplayz6644 it's fine, I found a different method but gave up doing this stuff anyway

    • @Fivenightplayz6644
      @Fivenightplayz6644 3 місяці тому

      ​@@crimsonshadowz1008 alr

  • @WingsofWolfe
    @WingsofWolfe Рік тому +3

    Does it work with modded items! Like if I added a custom item and wanted it to be traded for something in the game, like bread?

  • @Thatoneguy-k3i
    @Thatoneguy-k3i Рік тому

    Thankyou SO much! This was exactly what I was looking for and so many other videos just didn't have the right commands. Thanks dude

    • @monkegamer-cd5vj
      @monkegamer-cd5vj 11 місяців тому

      I did everything correctly. But I can't trade with the npc, also it has no hp so a misclick can delete all ur progress. Thanks anyway

  • @NotGoingToGiveMyRealName
    @NotGoingToGiveMyRealName Рік тому +4

    It would be nice if in the description or pinned comment it shows the command so you can just copy that then edit to what you need

    • @VIPmanYT
      @VIPmanYT  Рік тому +8

      I don’t do that because the retention of my videos are already super low so if I did that no one would watch at all.

    • @C1UTCHVFX
      @C1UTCHVFX Рік тому +2

      @@VIPmanYTI respect that

  • @Wiiins_n
    @Wiiins_n 3 місяці тому

    does the @p in the buy and sell commands target around the npc or the command block

  • @Pluto_lover
    @Pluto_lover Рік тому +9

    This is cool as hell

    • @VIPmanYT
      @VIPmanYT  Рік тому +3

      glad you enjoyed it!

  • @zebroon95
    @zebroon95 Рік тому +3

    Yep doesn't work for me, it's been 2 days that i chercj and nothing, is this cause im on switch? Or the 1.20 modified command ? Pls help i had enough of cherching

  • @snorkelingstars
    @snorkelingstars Рік тому

    I saw your other vid about this and both helped so much thanks

  • @valynazvalkynaz5375
    @valynazvalkynaz5375 Рік тому +1

    I have a question, I tested it out for me with a full inventory and it took the emerald and said it gave me 5 bread though I have no bread in my inventory and that slot in my hotbar is now empty. is there a way for it to do this without me needing 1 spare inventory slot open?

    • @traigen1
      @traigen1 9 місяців тому +1

      You can try adding tick deley to the give block. Maybe set it to 10 tick deley.

    • @valynazvalkynaz5375
      @valynazvalkynaz5375 9 місяців тому

      Do you think that will fix the issue or help at least get around it

  • @BearHunter808
    @BearHunter808 Рік тому

    Dude thank you so much, this has helped me get my server started.

  • @melissaneher8906
    @melissaneher8906 11 місяців тому +1

    I got the part where it takes away the item but it wont give the other item to me
    did it the way you did it

  • @fansyvvr
    @fansyvvr Місяць тому +1

    I tried it and it’s not working. I’m on the Xbox bedrock the most recent edition for Xbox bedrock too but it still just isn’t working I put the command in right and I tried some solutions from the commons and it’s just not working someone please help

  • @deadhalo2581
    @deadhalo2581 Рік тому +1

    Hey does this work with items that have spaces in their names, like the Pottery Sherds

    • @RanceyBites
      @RanceyBites 9 місяців тому

      I'm pretty sure it's called "pottery_shards" put an underscore to indicate thats space

    • @NataTila90
      @NataTila90 Місяць тому

      Dumb

  • @DogeLover14
    @DogeLover14 Рік тому +3

    How do you do this with names items?

  • @nerdyweirdo419
    @nerdyweirdo419 Рік тому +3

    Im tried the command but it is not working, please help

  • @Atombombenbauer-
    @Atombombenbauer- Рік тому +2

    my command isn't working : /give @initiator[hasitem={item=netherite_block,quantity=5..}] nether_star 1 /clear @initiator[hasitem={item=netherite_block,quantity=5..}] netherite_block 0 5 how ido i fix it it

    • @nothingbunny256
      @nothingbunny256 10 місяців тому

      initiar is his name

    • @Burningsnotball
      @Burningsnotball 6 місяців тому

      No, initiator is the person that opened the dialog. I believe your problem is that you put "/give", not "give"

  • @Lepazii
    @Lepazii 3 місяці тому +1

    "clear" Just cleared my whole inventory

  • @someone94949
    @someone94949 Рік тому +1

    the diamknd shop was wrong,idk abt the other command block chain cuz i havent watched it all but it executes if theres IS a player with 16 or more diamonds

    • @someone94949
      @someone94949 Рік тому

      yep second one too

    • @someone94949
      @someone94949 Рік тому

      do execute at @e[tag=DiamondShop] if entity @p[hasitem={item=...?,quantity=...?}] run command

    • @jackdellwood8929
      @jackdellwood8929 Рік тому

      @@someone94949 your wrong 2.. means 2 or more so this would execute if a player has 2 or more your system would only work if the player had no diamonds on them your thing is completely incorrect 😂

    • @2plus2equal7
      @2plus2equal7 Рік тому

      ​@@jackdellwood8929 rethink before posting a reply, he was right, it executes it as ANY PLAYER, who has 16 or more diamonds, so even if the one who is actually trying to buy stuff doesn't have enough, the money will be added. Also, he said quantity=amount, he didn't tell anyone not to use the 2 dots. Another thing - you said it would only work if they had NO diamonds on them. That makes no sense, the subcommand if would fail if you don't have enough diamonds, that also happens when you have none at all. Judging by the laughing emoji, you were probably trying to mock them, so this is kind of embarrassing.

  • @samirlavado712
    @samirlavado712 Рік тому +2

    Trade commands do not work

  • @fierceincognito
    @fierceincognito Рік тому

    It works well in my case, thank you so much. I just can't help looking at some comments, and the only thing I can say is that it must be a typo..

  • @kimoking756
    @kimoking756 Рік тому +1

    The befor last command doesnt work for me
    ???

  • @izzybannana951
    @izzybannana951 Рік тому +4

    The first part did not work

  • @o2consumer16
    @o2consumer16 Рік тому

    Man, this is perfect, this is exactly what I'm looking for! I love that you put two different options as well. This is huge for my minecraft server. Thank you so much :)

    • @VIPmanYT
      @VIPmanYT  Рік тому +1

      Glad it was helpful! Thanks for such a positive comment 👍

  • @Dreamoooon
    @Dreamoooon Рік тому +2

    I'm doing one chunk and superflat challenges right now. I have been finding a way to make wandering trader sell lava and end portal frames (customize their trade list somehow). I know I can just spawn the lava and throw my emerald away as a pretending purchase but I kinda want to make it so I have to wait for the wandering trader to show up with the trades I need. Is there a way to do that in Bedrock?

  • @mandothecat8695
    @mandothecat8695 Рік тому +1

    doesn't work for me is there anything im doing wrong?

  • @Yaboimono87
    @Yaboimono87 Рік тому

    how do i make it so for example you spend 2 diamonds to get multiple things like a leather armor set

  • @andhika5542
    @andhika5542 Рік тому

    For the NPC shop - Can u place the commands block anywhere? also Great Video Btw. :)

  • @MattyP-wu5lk
    @MattyP-wu5lk Рік тому +1

    Tried the first one. Doesnt work for me. Coppied it completely and cant get it to work.

    • @jacobanderson325
      @jacobanderson325 9 місяців тому +1

      use @p instead it worked for me when I changed it

  • @jacobanderson325
    @jacobanderson325 9 місяців тому

    how do I get them to only purchase one stack at a time if I have multiple?

  • @IsabellaCanfield-fp4bm
    @IsabellaCanfield-fp4bm Рік тому +2

    It’s not working for me and I followed everything you did I’m on bedrock too so I don’t know what I am doing wrong

    • @JkrTheExiled
      @JkrTheExiled Рік тому +1

      You might be doing the commands wrong cause I was stuff with the scoreboard commands and coudent do them because you have to do them in a specific way

  • @sharkygameworld
    @sharkygameworld Рік тому +1

    What version is this for?

  • @LeonDoesStuff-onrblx
    @LeonDoesStuff-onrblx 4 місяці тому

    can i have someone put a copy and pastable version in

  • @ItsKlame
    @ItsKlame Рік тому +1

    Lets go its the new vid

  • @heyitsgoob6983
    @heyitsgoob6983 4 місяці тому

    Thank you sir

  • @Fortnite-ly7io
    @Fortnite-ly7io Рік тому +3

    Nice

  • @NotUnderDawg
    @NotUnderDawg 10 місяців тому

    I have a problem. When I do the tag command they say no target.

  • @SandraStacy-k6x
    @SandraStacy-k6x 6 днів тому

    Hey. Me and my friends made a world together. I was on the sever alone and I thought I should make a shop. So I had the idea to look on the internet to see if I could make my own villager trades and I found this vid. So I watch it and as soon as I did the command. It did not work. Its 2025 so it could be the age but if not please help me

  • @jordanvelazquez9384
    @jordanvelazquez9384 Рік тому

    For me even if the play has 0 they can buy the item, not get it and be in the negatives

  • @gaminggrafiti4910
    @gaminggrafiti4910 Місяць тому

    If @initator doesn’t work do @p it gives it to the closest player which should work just as fine

  • @RyzmoMore
    @RyzmoMore Рік тому +1

    Your insane.

  • @Mia-ro2dx
    @Mia-ro2dx 9 місяців тому

    what does the 0 2 at the end do

  • @moeenkhalil6666
    @moeenkhalil6666 Рік тому

    How do you do this with enchanted items?

  • @rosericci1896
    @rosericci1896 Рік тому

    This is good… but it seems there’s a few problems with the code. 1, the money still adds it into people’s “money” account even if they do not have enough diamonds to sell. 2, if someone tries to sell diamonds and does not have enough, it will put it in everyone else’s account. Any way to fix this? I quadruple checked my code and everything seems to be the same as yours. Maybe I am executing it wrong somehow?

    • @VIPmanYT
      @VIPmanYT  Рік тому

      these should not be issues, with the way the system is setup as far as I remember. Do you have discord? If so join mine and open a post in command block help and i'll try help! As it's a lot easier than here.

  • @Aokily-q4k
    @Aokily-q4k Рік тому

    hey, why does mine give " No targets matched selector " may you please help me?

    • @VIPmanYT
      @VIPmanYT  Рік тому +2

      that's odd, im not overly sure on this one without knowing what you typed exactly, do you use discord? If so, could you please send a screenshot or photo of the command block and error? thanks!

    • @SandraStacy-k6x
      @SandraStacy-k6x 6 днів тому

      You play on bedrock?

  • @MinhNgo-wj1xq
    @MinhNgo-wj1xq 6 місяців тому

    What if you cannot afford it? Like I only have one diamond and I trade.

  • @ta26c1
    @ta26c1 Рік тому

    THANKS SO MUCH FOR THE

  • @DaLukeDaNuke
    @DaLukeDaNuke Рік тому

    Could you add a warning if you don’t have the price? Basically an insufficient funds system.

  • @Just_animation_1345
    @Just_animation_1345 3 місяці тому

    Is it work on 1.16?

  • @Noito4869
    @Noito4869 4 місяці тому

    Does this work in mcpe?

  • @Fun_is_happiness
    @Fun_is_happiness 10 місяців тому +6

    People who want the commands also in description
    👇

  • @Kenny_cuh
    @Kenny_cuh Рік тому

    I can’t find the command for large fern

  • @hello.-.67
    @hello.-.67 Рік тому +1

    Dont work

  • @Pete66ish
    @Pete66ish Місяць тому

    its not working for me i think it might be because im suspended from multiplayer will try again soon

  • @Dycline
    @Dycline 3 місяці тому

    Can't you just use give and clear commands instead of all that?

  • @ExaltedSauron
    @ExaltedSauron Місяць тому

    Dosen t work?

  • @KillerPro-minecraftfall
    @KillerPro-minecraftfall Рік тому

    not a ques: tell us ALL ALL ALL every single one of the secret block and how can we empty block (example 64x78x64 and Make more videos and where is the discord link

  • @Deo_fam-q8q
    @Deo_fam-q8q Місяць тому

    Can you pls help it is not working

  • @dylanvang5466
    @dylanvang5466 Рік тому +1

    It did not work for me

  • @AmorReduca-ws7ey
    @AmorReduca-ws7ey Рік тому

    Why mine no work I did mine right but no work

  • @pixelbeanz.
    @pixelbeanz. Рік тому

    does this work on bedrock? i cant get it to work

    • @VIPmanYT
      @VIPmanYT  Рік тому +1

      yeah I recorded on bedrock

  • @user-nd7es7vt3n
    @user-nd7es7vt3n 2 місяці тому

    this isn't working for me can I ge some help😕

  • @desabex5902
    @desabex5902 Рік тому

    Wont let me do multiple commands

  • @Sweaty_OT
    @Sweaty_OT Рік тому +1

    It does not work

    • @VIPmanYT
      @VIPmanYT  Рік тому

      Sorry to hear you're having issues.
      What errors are you getting?
      also if you have discord & can open a post in the command block help channel, you will be able to send screenshots / pictures of the command and get a quicker reply. My discord is on my about me page!
      if not, reply to this & ill try reply though replying to replies of comments can be hard

    • @Sweaty_OT
      @Sweaty_OT 10 місяців тому

      @@VIPmanYT srry im responding so late but im trying to make a prison server and i need to make a command in the npc to were 32 dirt for a wooded shovel I tried to just replace words and quantities but did not work.

  • @OrphanDestroyerPlays
    @OrphanDestroyerPlays Рік тому

    This is huge for my drugs shop in my gta city

  • @Mahitothespecialgrade
    @Mahitothespecialgrade Рік тому

    could anybody put the commands in the comments because most of us cant do two things at once

  • @birdcat25
    @birdcat25 Рік тому +1

    can someone type in the commands?

  • @AlexHughes-fc9dz
    @AlexHughes-fc9dz Рік тому +1

    i dont know whats going on can someone pls help me because this command doesnt seem to work, can somebosy let me know if this is right or wrong pls
    give @initiator[hasitem={item=diamond,quantity=2..}] emerald 1 clear @initiator[hasitem={item=diamond,quantity=2..}] diamond 0 2

  • @kravengaming20103
    @kravengaming20103 Рік тому

    doesn't work.

  • @aaronpittruff
    @aaronpittruff Місяць тому

    Van someone give me a working comand
    Trade 1 iron pickaxe for 15 emeralds?
    Please?

  • @SheonaMiller
    @SheonaMiller 3 місяці тому

    I spent a hour and could not get it to work

  • @Eternal_Night69
    @Eternal_Night69 2 місяці тому

    He wrote that dialogue wrong XD

  • @poa0659
    @poa0659 Рік тому

    HOW DO MAKE IT ON A SERVER AND THEY DONT DESPAWN AFTER WHILE AND HOW DO YOU MAKE THEM KEEP SPAWN (typed it in all caps to get a answer asap

    • @VIPmanYT
      @VIPmanYT  Рік тому +1

      Sorry to hear you're having issues.
      What errors are you getting? They should stay spawned in at all times. I'm confused.
      also if you have discord & can open a post in the command block help channel, you will be able to send screenshots / pictures of the command and get a quicker reply. My discord is on my about me page!
      if not, reply to this & ill try reply though replying to replies of comments can be hard

  • @CosimcStudios
    @CosimcStudios Рік тому +2

    does this still work

    • @VIPmanYT
      @VIPmanYT  Рік тому

      the hasitem part syntax has likely changed. If you edit it to the new one, yes.

    • @timewarp4250
      @timewarp4250 Рік тому +3

      ​@@VIPmanYT what's the new one

  • @JOYorchestra_
    @JOYorchestra_ 5 місяців тому

    It’s doesn’t work for ffs

  • @the_ham
    @the_ham 6 місяців тому

    This is NPC shop not villager

  • @Finleys_football
    @Finleys_football Рік тому +2

    First

  • @Guest-kb7ss
    @Guest-kb7ss 3 місяці тому

    Nonsense WHY DO I NEED A SCOREBOARD THIS SUCKS

  • @1Fizzdragons1
    @1Fizzdragons1 7 місяців тому

    Can someone chat the commands so we can copy and paste them? I'm too lazy to do it myself lol.

  • @QuitSorry123
    @QuitSorry123 Рік тому

    People there is a easier way

    • @QuitSorry123
      @QuitSorry123 Рік тому

      Just do /give @initiator and (and then the item u want)
      And down below just do /clear @initiator (the thing u want to remove) and how much u wanna remove just do this 0 and then the amount
      (All in the same command)

    • @QuitSorry123
      @QuitSorry123 Рік тому

      Btw y’all don’t need to follow mine

    • @AlexHughes-fc9dz
      @AlexHughes-fc9dz Рік тому

      @@QuitSorry123 thanks for trying to help, but the clear does not work whatso ever

    • @yahhhhhhh
      @yahhhhhhh Рік тому

      ​@@QuitSorry123can u do an example?

  • @FauzanAhmad12
    @FauzanAhmad12 3 місяці тому

    Tangan ke atas

  • @Mysteriousindividualguy
    @Mysteriousindividualguy Рік тому

    I love how he said custom villager trade but says to use a npc 💀

    • @JkrTheExiled
      @JkrTheExiled Рік тому +3

      The NPC is a villager and a villager is a npc

    • @Mysteriousindividualguy
      @Mysteriousindividualguy Рік тому

      @@JkrTheExiled bruh npc doesn't live on village so they don't have the rights to be called a villager

    • @JkrTheExiled
      @JkrTheExiled Рік тому +4

      @@Mysteriousindividualguy the definition of a npc and I quote a non playable character that's what a villager is, bruv you acting like a npc 💀 villagers are a npc nub

    • @JkrTheExiled
      @JkrTheExiled Рік тому +3

      @@Mysteriousindividualguy sure it's not a villager but it acts just like a villager so technically it's counts as a villager as well

  • @YoiseplaysYT
    @YoiseplaysYT Рік тому

    It's so much COMMANDS

  • @MonitorHead247
    @MonitorHead247 Рік тому

    /give @initiator[hasitem={it=item, quantity=2..}] item 1 clear

    • @dtayt1
      @dtayt1 Рік тому

      thank you so much bro

  • @SumanN27
    @SumanN27 5 місяців тому

    /give @p spawn_egg 1 51

  • @Dogeykingz-wj6gr
    @Dogeykingz-wj6gr Рік тому

    give @initiator[hasitem=(item=diamond.quantity

  • @themutesiren5542
    @themutesiren5542 Рік тому

    what would the command be for iron instead of diamonds? for the life of me its not working

  • @MINECRAFT4U042
    @MINECRAFT4U042 6 місяців тому

    /give @spawn_egg 1 51

  • @lelandboy9092
    @lelandboy9092 Рік тому

    309 60 2

  • @theworldofgamming9195
    @theworldofgamming9195 2 місяці тому

    Thanks bro

    • @VIPmanYT
      @VIPmanYT  Місяць тому

      No problem thanks for watching!

  • @unfinishedart7797
    @unfinishedart7797 6 місяців тому

    doesnt work

  • @StickmanGuy-qp2sf
    @StickmanGuy-qp2sf 2 місяці тому

    Give @initiator[hasitem={item=diamond,quantity=2..}] emerald 1
    clear @initiator[hasitem={item=diamond,quantity=2..}] diamond 0 2

  • @Skateland-Speed-Team
    @Skateland-Speed-Team 9 місяців тому +1

    It doesn't work