HOW TO MAKE A NPC SHOP IN MINECRAFT BEDROCK EDITION! (2021) USING EMERALDS!

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024

ความคิดเห็น • 159

  • @goomygaming980
    @goomygaming980 ปีที่แล้ว +23

    If it's buying when you don't have enough emeralds, I have a fix!
    Diagram:
    3
    2
    R 1
    R is where the npc should place a redstone block! The numbers are command blocks, which should be facing away from the redstone block.
    Command block 1 (x y z should be replaced with the coordinates of R.):
    /setblock x y z air 0
    Command block 2: (currency ends with a number. For most currencies, this is 0, but with different colored wools, it represents the color.
    /clear @p currency item_cost
    Command block 3:
    /give @p item item_amount

    • @goomygaming980
      @goomygaming980 ปีที่แล้ว +2

      Note: Command block 3 is an always active conditional chain command block.

    • @seyshian
      @seyshian ปีที่แล้ว +1

      thank you so much

    • @teresafrazier8511
      @teresafrazier8511 ปีที่แล้ว

      Thanks bro you so helpful I need you on my friends list your so helpful

    • @Trump_Gaming
      @Trump_Gaming ปีที่แล้ว +1

      It still buys it if you don’t have enough. I have it to where it costs 2 emeralds for 1 diamond. But it will consume 1 emerald and give you the diamond anyway.
      So are command blocks 2 and 1 impulse? Right?

    • @Trump_Gaming
      @Trump_Gaming ปีที่แล้ว

      Also, I don’t know why you put a 0 at the end of the /setblock x y x air command. It doesn’t work if you have a 0 at the end. The block doesn’t get cleared.

  • @KyawSwarHtet-w9x
    @KyawSwarHtet-w9x 2 วันที่ผ่านมา

    Thank you very much you are the real & I tried so many npc seller video but didn't work.Your video only can work❤💞✨

  • @Neon569gamer
    @Neon569gamer หลายเดือนก่อน

    Bro, you are a lifesaver. I was trying to make this map for my friends and I was trying to make the shop. It wouldn’t work until this tutorial. Thank you so much.

  • @zipper9717
    @zipper9717 2 ปีที่แล้ว +5

    Thank you so much I needed this for so long! 😁

  • @fuzzyfox2919
    @fuzzyfox2919 2 ปีที่แล้ว +3

    Tysm i needed this.
    This is literally so useful thank you so much!

  • @ERROR-yg3uy
    @ERROR-yg3uy 2 ปีที่แล้ว +40

    Ngl this is really simple and easy, but the only problem is that if the item that your going to buy is expensive like 3 diamond's but you only have one diamond you can still buy it because it won't detect if you have the exact count of diamond, so it will automatically give you the item even tho if you only have one diamond so increasing the price is useless because you just need one diamond to activate the command block.

    • @sobacat
      @sobacat 2 ปีที่แล้ว +2

      Actually, you don't need anything to activate the command block, it's already free it just removes the stuff from your inventory.

    • @KBforJesusChrist
      @KBforJesusChrist 2 ปีที่แล้ว +3

      @@ERROR-yg3uy Tel me how to prevent the above problem I'm a noob in command blocks but I know the basics what should I do

    • @Mr_Owl6Plays
      @Mr_Owl6Plays ปีที่แล้ว

      We need to report this
      (I meant the "/clear" command thing)

    • @Mr_Owl6Plays
      @Mr_Owl6Plays ปีที่แล้ว

      Bro.. I tried to record a lower version so we can see it Working when Using it, but its still the same, first I tried 1.19.0 it still dosent work, I'm pretty sure I tried the shop before So I know its working well, Now it tried 1.18 AND ITS STILL LIKE THAT, ITS STILL CAN CLEAR A ITEM BRO WTF..

    • @xswaves
      @xswaves ปีที่แล้ว

      @@Mr_Owl6Plays qqqq i you o1qqqqtqqqq9 😊😊z😊

  • @legal_insanity
    @legal_insanity 2 ปีที่แล้ว +1

    Tysm! I've been looking for something like this for a while

  • @yaseenal-haddad8196
    @yaseenal-haddad8196 ปีที่แล้ว +1

    THANK YOU SO MUCH I SUBBED

  • @sbn612
    @sbn612 2 ปีที่แล้ว +1

    Thankyou, you helped me out a lot

  • @mikealalee2889
    @mikealalee2889 ปีที่แล้ว +5

    OMG THANK YOU. sub and like just for this video! Been looking for hours on how to. Trying to make a classic rpg style adventure game for family and friends. I needed to be able to give an item to an npc as a guest item and then have the npc reward the player for getting the item. This worked perfectly I had no issues setting it up or functioning it! Thank you! Now my players and give grandpa his iron pickaxe and get two golden apples for helping him out! Next step, how to change the dialogue after you complete certain tasks!

    • @mikealalee2889
      @mikealalee2889 ปีที่แล้ว

      Yo I literally figured it out. That is so awesome. I'm gonna make the coolest shit.

  • @Czyxlle
    @Czyxlle 2 ปีที่แล้ว +3

    i liked cuz you showed me that § thing now i’m happy thank you

  • @PrismX_8
    @PrismX_8 11 หลายเดือนก่อน +1

    If you only want the npc to allow you to buy from him once put the command in the first command block
    /setblock (random cords) air
    and then the redstone will stay there so you cant purchase again

  • @EliteSpam
    @EliteSpam 3 ปีที่แล้ว

    Thanks for the vid man!

  • @CatBC2009
    @CatBC2009 3 ปีที่แล้ว +1

    Tysm, it actually works!

  • @Rxisly
    @Rxisly ปีที่แล้ว

    THANKS I WAS LOOKING AT EVWRY VIDEO ON TH-cam AND IT DIDNT WORK IM SO HAPPY RN XD I CAN FINALLY MAKE A GOOD ROLEPLAY XD

  • @hazzer6002
    @hazzer6002 2 ปีที่แล้ว

    Thanks so much man this will really help my server

  • @axo_Pingi
    @axo_Pingi 10 หลายเดือนก่อน

    Best tutorial wo far

  • @CODcenter21
    @CODcenter21 ปีที่แล้ว +4

    Put the remove emerald command in the impulse block. What this will do is detect if you have emeralds, so if you don’t have them, you can’t buy the item.

    • @Unusual_Monk
      @Unusual_Monk ปีที่แล้ว +1

      So which block do we put the other commands in after switching this command?

    • @SuperFormula1
      @SuperFormula1 9 หลายเดือนก่อน

      All this does it block you all together from getting the item

  • @Cosplay-Gaming2003
    @Cosplay-Gaming2003 ปีที่แล้ว +1

    i did everyrhing you said and it doesnt work how do i fix it

  • @turtleshorts803
    @turtleshorts803 ปีที่แล้ว

    cheers dude

  • @austrohungarian1916
    @austrohungarian1916 3 ปีที่แล้ว

    I really need this thx

  • @Beast78110
    @Beast78110 3 ปีที่แล้ว +4

    Hey i have tried your map arcade parkour its pretty good i liked the map how long it takes to make make that maps❤️😀

    • @ItzRageCord
      @ItzRageCord  3 ปีที่แล้ว +3

      It took me a week cause I had a breaks and I had a friend that help me :D

    • @Beast78110
      @Beast78110 3 ปีที่แล้ว +2

      Ok nice ❤️

  • @Goatruto_Edits
    @Goatruto_Edits 3 ปีที่แล้ว

    Op❤️ pro 🔥🔥🔥 thank you

  • @Bella_Rose.
    @Bella_Rose. 2 ปีที่แล้ว +3

    There’s a Flaw
    I want it to cost 3 iron and it will still give me steak even if I have 1 you didn’t have a command that tests it
    I can do great command shops but this uses setblock commands instead of /scorebored

    • @legion1te
      @legion1te ปีที่แล้ว

      Have you found a solution to this? I am using a scoreboard shop, however if I want to sell in bulk, and don’t have the full amount. It just takes what I do have and gives me the money for the full amount.

    • @xinotcinccinox9016
      @xinotcinccinox9016 ปีที่แล้ว

      I’ve been trying to make a scoreboard shop but I haven’t been successful , how did you do it?

  • @jachinjarder
    @jachinjarder ปีที่แล้ว +1

    The problem I have is the message saying the commands, I want it to work like it isn't used by commands.

    • @hollowhit4096
      @hollowhit4096 ปีที่แล้ว

      Yo in your game chat type /gamerule commandblockoutput false

  • @cr_crepar
    @cr_crepar ปีที่แล้ว

    Thank you bro

  • @giuseppeungrande7566
    @giuseppeungrande7566 ปีที่แล้ว

    Thank you so much

  • @teresafrazier8511
    @teresafrazier8511 ปีที่แล้ว

    I have a question how do I make more then one do I do all the commands again or do I do something with the npc I’m kinda confused because I’m new to command studf

  • @fleurgamerz4691
    @fleurgamerz4691 3 ปีที่แล้ว

    It works this help my shop

  • @justicekonjengbam3284
    @justicekonjengbam3284 3 ปีที่แล้ว +3

    Since it's @p
    if anyone else is standing near the command block or next to the customer , won't it take emerald from the other person? If he or she is more near to the shop..?

    • @bububabu9739
      @bububabu9739 3 ปีที่แล้ว

      Yeah i think in the same way

    • @Camreon01
      @Camreon01 2 ปีที่แล้ว +1

      I just added a tag to whoever enters the npc and took it away after the purchase was complete

    • @Beef_Mince
      @Beef_Mince ปีที่แล้ว

      @@Camreon01 how

    • @Camreon01
      @Camreon01 ปีที่แล้ว

      @@Beef_Mince Search a tutorial on how to use the /tag command. When the player enters the npc, add the tag. When you press the button, remove it. Use @p[tag=...] to select only the player with the tag. I hope this helps

  • @notleijurv145
    @notleijurv145 2 ปีที่แล้ว +1

    you guys need to set all the chain command blocks to conditional

    • @SuperFormula1
      @SuperFormula1 9 หลายเดือนก่อน

      Doesn’t work

  • @draco_themeteor
    @draco_themeteor ปีที่แล้ว +1

    When the command block tries to remove the redstone block after first purchase, it fails and says "Cannot place block outside of the world." Is there a fix for this?

    • @MarathonBot
      @MarathonBot ปีที่แล้ว

      i think its too far from

    • @user-fe3vq8dt1o
      @user-fe3vq8dt1o 9 หลายเดือนก่อน

      Yes put in the right coords

  • @Kostyashk_
    @Kostyashk_ 2 ปีที่แล้ว +1

    Спасибо!

  • @SkokiNajlepsze
    @SkokiNajlepsze 10 หลายเดือนก่อน

    can anyone help out? i tried everything but it buys even when you dont have enough currency

  • @austrohungarian1916
    @austrohungarian1916 3 ปีที่แล้ว +1

    What if you try the command on npc this command on first /give diamond_sword And The second Command /clear inventory type=emerald

    • @Kroenen.X
      @Kroenen.X 2 ปีที่แล้ว +1

      Hmm,that’s good idea!

    • @phexef9005
      @phexef9005 2 ปีที่แล้ว +4

      The idea is good but if u understand it more clearer it only clears emerald. It wont detect if your emeralds are insufficient, example u hav 1 emerald but the seller sells it for 2 emeralds. If u buy them youll still get the item, even if u dont hav emeralds. Its still brokes

    • @austrohungarian1916
      @austrohungarian1916 2 ปีที่แล้ว

      @@Kroenen.X Do you know gta San Andreas mobile?

    • @austrohungarian1916
      @austrohungarian1916 2 ปีที่แล้ว

      Well it's super fun you do missions and shoot the ballas gang member

  • @datb0ice
    @datb0ice 9 หลายเดือนก่อน

    What do I do if it can give me the item without having to pay for it

  • @reddit123
    @reddit123 2 ปีที่แล้ว

    any tips for being able to make the button names longer

  • @VLAD_NE_DOMA
    @VLAD_NE_DOMA 11 หลายเดือนก่อน +1

    Охуєный гайд

  • @WickedDevMist
    @WickedDevMist 2 ปีที่แล้ว +1

    You can also buy with out your emerald if you do this lol

  • @zar3820
    @zar3820 2 ปีที่แล้ว

    The symbol is called a section sign §

  • @yashbagdi7930
    @yashbagdi7930 ปีที่แล้ว

    I've tried this but if i have 2 emerald out of 3 then I'll chose to buy a 3 coast emerald stuffs then it clear my 2 emerald and give me my stuff of 3 emerald for 2 emerald how to fix this man?!

  • @notleijurv145
    @notleijurv145 2 ปีที่แล้ว +1

    i tested this but even when i dont have anything i can still "buy" the items

    • @necromancystudiosgaming4024
      @necromancystudiosgaming4024 2 ปีที่แล้ว

      set the command for 0 (number of items) to the number before the number of items

  • @marcushawkins1455
    @marcushawkins1455 3 ปีที่แล้ว +1

    Does it work on xbox one?

  • @sapphire6216
    @sapphire6216 2 ปีที่แล้ว +1

    Hi uhh how do u get that sell symbol. im on PC

    • @ItzRageCord
      @ItzRageCord  2 ปีที่แล้ว +1

      If you find the $ symbol on a website or somewhere copy it and paste it with Ctrl + V

    • @sapphire6216
      @sapphire6216 2 ปีที่แล้ว

      @@ItzRageCord oh okay thanks :)

  • @mini_foxye
    @mini_foxye ปีที่แล้ว

    Work on multiplayer?

  • @Donutking3105
    @Donutking3105 ปีที่แล้ว

    Bro it didn't work, it says it couldn't clear the inventory of me, no items can be removed

  • @mokietsu
    @mokietsu ปีที่แล้ว

    2:25

  • @smitaverma7334
    @smitaverma7334 ปีที่แล้ว

    Bro does it works when we don't have money or currency

  • @theveps2802
    @theveps2802 2 ปีที่แล้ว

    If you make the prize higher than 1 and you only have 1 emerald you can get the item

    • @Unluckh
      @Unluckh ปีที่แล้ว

      YEEEEES, HOW TO FIX IT?!

  • @ShiftWasTakenttyt
    @ShiftWasTakenttyt ปีที่แล้ว

    He still gives you it even without the emeralds

  • @user-fe3vq8dt1o
    @user-fe3vq8dt1o 10 หลายเดือนก่อน +1

    Yo I can't do armor idk y

    • @user-fe3vq8dt1o
      @user-fe3vq8dt1o 9 หลายเดือนก่อน +1

      You can, do /give @p chainmail_boots, helmet,chestplate or leggings (it works with any armour type)

  • @junjustjun.6252
    @junjustjun.6252 3 ปีที่แล้ว +4

    went through all that to find out all i had to do is /give @p food /clear @p money

  • @tech_cookie4445
    @tech_cookie4445 2 ปีที่แล้ว

    This is flawed if a player is buying stuff in front of the npc but another player is closer to the command block the get the food and not the person who bought it

  • @Macros_gd
    @Macros_gd 9 หลายเดือนก่อน

    Mojang : WHY u put / in npc command and command_block

  • @avocadolulu1
    @avocadolulu1 ปีที่แล้ว

    /setblock *cords* redstone_block
    /setblock *cords* air
    /clear @p *emerald or diamond whatever* 0 *number*
    /give @p *bread or anything* THEN *the amount you want to give*

  • @Frenchie993
    @Frenchie993 ปีที่แล้ว +1

    I did all the steps but the npc takes the wrong amount and still gives me the item. How do I fix this?

  • @Larabrine6733
    @Larabrine6733 2 ปีที่แล้ว

    I did work for me

  • @kingbot5266
    @kingbot5266 ปีที่แล้ว +3

    If anyone needs help to fix the issue when it gives "bread" no matter how many items you actually have. You can fix it by using this.
    /Testfor @p[hasitem={item=youritemhere, quantity=yournumberhere}]
    But with this it will only test for that number of items specifically, so if you want a range from numbers, you can do
    ,quantity=number.. othernumber }]
    The two .. make it so it say ex: a rang from 1 to 10 amountof items.
    And it tests for anyone who has x amount of items

    • @xinotcinccinox9016
      @xinotcinccinox9016 ปีที่แล้ว +2

      Where should I place that command

    • @yu-gi-noob9656
      @yu-gi-noob9656 ปีที่แล้ว

      Countless scrolling through YT Vids, and the one that helps me is a comment. Huge thanks, man.

  • @enzotosto7305
    @enzotosto7305 ปีที่แล้ว

    I have shears for 32 brick, and it doesn’t even require me to have bricks, it just gives it to me. Anyone know a fix?

  • @KBforJesusChrist
    @KBforJesusChrist 2 ปีที่แล้ว

    You didn't show the problem people will face if you put iron for a cost of 10 coal it will give you the iron even if you have 1 coal as long as you have the coal in your inventory it will give you 😓

  • @PixelSpect
    @PixelSpect ปีที่แล้ว

    Fun fact you could actually do this without using command blocks and by using only the npc by inputing multiple commands in one button. Its just that it would still give you the item without having to pay for it

    • @whos_trinity2889
      @whos_trinity2889 ปีที่แล้ว

      What commands would you put

    • @goomygaming980
      @goomygaming980 ปีที่แล้ว

      You can't put multiple commands in a single button.

  • @boberrrspaceee
    @boberrrspaceee ปีที่แล้ว

    It didn't work. I maked every step and nothing. It Works if i only on Creative mode

  • @abrkenboy2111
    @abrkenboy2111 2 ปีที่แล้ว

    Bro plz help me. after doing everything I can buy but when I try to do these again it doesn't work and my all command s are ok too

  • @Lingo0309
    @Lingo0309 2 ปีที่แล้ว

    There’s one problem I DONT have any emeralds in my inventory but it still works…

    • @goomygaming980
      @goomygaming980 ปีที่แล้ว

      Put the /clear command in the impulse block

  • @DrakeWasOnFire
    @DrakeWasOnFire 2 ปีที่แล้ว +1

    What if i dont have emerald and il buy it

    • @ItzRageCord
      @ItzRageCord  2 ปีที่แล้ว

      It won’t sell you the item

    • @IluvTama
      @IluvTama 2 ปีที่แล้ว +1

      Even if you have 1 emerald and the price of bread is 5, you still can buy it.

  • @Недопустимоеназвание
    @Недопустимоеназвание ปีที่แล้ว

    Что означает эти две цифры 0 и 3 в командном блоке clear @p emerald 0 3

  • @sherwintuble3265
    @sherwintuble3265 ปีที่แล้ว

    Bro I can buy with no emerald

  • @landnpr3414
    @landnpr3414 3 ปีที่แล้ว +1

    /setblock x y z redstone_block

  • @Splattergt_official
    @Splattergt_official ปีที่แล้ว

    Don’t think this works in 1.20

  • @nattytorres6329
    @nattytorres6329 4 หลายเดือนก่อน

    Have no command-block

  • @cinnamon08
    @cinnamon08 2 ปีที่แล้ว

    How do you get a npc

  • @jackrec422
    @jackrec422 2 ปีที่แล้ว

    Tryed 10 times doesn’t work

  • @rae-rae8005
    @rae-rae8005 2 ปีที่แล้ว

    it doesnt work for me! and I legit followed your instructions very carefully. I can still summon Npcs, but the commands won't work :(

    • @doorles
      @doorles 2 ปีที่แล้ว

      Same

  • @MegaAge82
    @MegaAge82 หลายเดือนก่อน

    10 -63 2

  • @dandyanimates
    @dandyanimates 5 หลายเดือนก่อน

    I just spent one hour on this and it didnt work

    • @ItzRageCord
      @ItzRageCord  5 หลายเดือนก่อน

      Sorry it’s old I don’t think this work anymore.

  • @minerr5821
    @minerr5821 ปีที่แล้ว

    -72, 62, 174

  • @TheMintyRobloxCow
    @TheMintyRobloxCow 3 ปีที่แล้ว

    Do the command blocks need to be close to the npc?

    • @ItzRageCord
      @ItzRageCord  3 ปีที่แล้ว

      No

    • @zephyr9516
      @zephyr9516 2 ปีที่แล้ว +1

      Within 300 blocks I think 🤔

  • @calobhoy2066
    @calobhoy2066 2 ปีที่แล้ว

    I didn’t work😡

  • @burritobrothers2648
    @burritobrothers2648 2 ปีที่แล้ว +1

    It’s not working

  • @necromancystudiosgaming4024
    @necromancystudiosgaming4024 2 ปีที่แล้ว

    doesnt work for me

  • @amoreleonafiguracion5136
    @amoreleonafiguracion5136 2 ปีที่แล้ว

    54 87 -55

  • @bacon1828
    @bacon1828 3 ปีที่แล้ว

    Can I have the commands sometimes I don’t type it right:(

  • @amoreleonafiguracion5136
    @amoreleonafiguracion5136 2 ปีที่แล้ว

    54 87 -53
    54 87 -53

  • @landnpr3414
    @landnpr3414 3 ปีที่แล้ว

    /steblock x y z air

  • @jenelyyuson8630
    @jenelyyuson8630 2 ปีที่แล้ว

    Fake

  • @ultimagaming5708
    @ultimagaming5708 2 ปีที่แล้ว

    arreter décrir en englaiiiiiiiiiiiiiiiiiiiiii stop englich

  • @karaok2
    @karaok2 ปีที่แล้ว

    you can even spawn them with a spawn egg!! Just Type "/give @p spawn_egg 1 51

  • @Snowflake_2456
    @Snowflake_2456 3 หลายเดือนก่อน

    /clear @p emerald 0 1

  • @IMDAGER
    @IMDAGER ปีที่แล้ว +1

    /give @p spawn_egg 1 51 = ncp

  • @Snowflake_2456
    @Snowflake_2456 3 หลายเดือนก่อน

    /setblock 0 4 2 redstone_block

  • @chadcreeper9777
    @chadcreeper9777 2 ปีที่แล้ว +1

    Or just /give @p spawn_egg 1 51

  • @AZUL00.
    @AZUL00. ปีที่แล้ว

    -84 -60 199

  • @purushoth.n398
    @purushoth.n398 2 ปีที่แล้ว

    -2277 72 -185

  • @goinkyb0b713
    @goinkyb0b713 2 ปีที่แล้ว

    thx so much

  • @Kenwylceloso
    @Kenwylceloso ปีที่แล้ว

    1:30

  • @marceloravec6174
    @marceloravec6174 2 ปีที่แล้ว

    fake