3 Simple Command Block Shop Designs (With Tutorials!) - Minecraft Java Command Block Tutorial

Veröffentlicht am: 11 January 2021
auf dem Kanal: Henry Cat
18,451
571

These shop designs work wherever you want in your creative world, and this inspiration/tutorial will (hopefully) guide you through making them wherever you want.

Timestamps:
0:00 - Intro
0:50 - Villager
2:16 - Button
4:50 - Chest
7:32 - Outro


Commands Used:
NOTE I made like a command generator for the button and chest because there are a lot of changes to make. You have to make a copy of the sheet and fill in the values, then copy the commands it generates. Hopefully it works, I've never done anything like it so there's a chance it won't.
https://docs.google.com/spreadsheets/...
Villager:
https://mcstacker.net/

Button:
Run these once:
/scoreboard objectives add money dummy
/gamerule commandBlockOutput false
In a repeating command block:
/execute as @a store result score @s money run clear @s diamond 0
Behind the button:
/execute if score @p money matches 1.. run clear @p diamond 1
/execute if score @p money matches 1.. run give @p golden_apple 1

Chest:
Run these once (yes I forgot to mention them in the video):
/scoreboard objectives add money dummy
/gamerule commandBlockOutput false
In the chain with the repeating command block:
/execute as @a store result score @s money run clear @s diamond 0
/execute unless block 328 22 -4 chest{Items:[{id:"minecraft:turtle_helmet"}]} if score @p money matches 5.. run clear @p diamond 5
/execute unless block 328 22 -4 chest{Items:[{id:"minecraft:turtle_helmet"}]} unless score @p money matches 5.. run clear @p minecraft:turtle_helmet 1
1.17+ - /item replace block 328 22 -4 container.13 with minecraft:turtle_helmet 1
1.13-1.16 - /replaceitem block 0 0 0 container.13 minecraft:turtle_helmet 1


Auf dieser Seite können Sie das Online-Video 3 Simple Command Block Shop Designs (With Tutorials!) - Minecraft Java Command Block Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Henry Cat 11 January 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 18,451 Mal angesehen und es wurde von 571 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!