- One Command Block Machines
- Command Machines For Minecraft
- Slot Machine Minecraft Tutorial
- Command Block Machines
- Make Minecraft Command Block Machines
- May 13, 2017 How would I disable the slots of an armorstand so noone can add items or remove any? Dec 19, 2016 You can use command blocks. You'll need 4 command blocks per each armor type. You don't need to add a /slash in command blocks. Leather: Helmet: /replaceitem entity @p slot.armor.head minecraft:leatherhelmet 1 0.
- Build the machine; you can use any type of blocks (can be different) and any type of button. The cases don't have to be next to each other if you don't want. Create the machine (specify an ID and a type) with /machine create -m:MACHINEIDHERE -type:TYPEHERE (type is the config ID of the type you want to create).
π₯.βLACK HAPE LUIS Studiosβ.π₯ Here Is The LINK For The Command: I Am NOT The Creator Of This Command!
Dec 10th, 2016
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- summon falling_block ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:falling_block,Block:redstone_block,Time:1,Passengers:[{id:falling_block,Block:activator_rail,Time:1,Passengers:[{id:commandblock_minecart,Command:gamerule commandBlockOutput false},{id:commandblock_minecart,Command:fill ~2 ~-3 ~-2 ~18 ~1 ~2 stained_hardened_clay 14 hollow},{id:commandblock_minecart,Command:fill ~2 ~-2 ~-2 ~18 ~ ~2 stained_glass 5 0 stained_hardened_clay},{id:commandblock_minecart,Command:/scoreboard objectives add MoveDown dummy},{id:commandblock_minecart,Command:/scoreboard objectives add random dummy},{id:commandblock_minecart,Command:/scoreboard objectives add stoptimer dummy},{id:commandblock_minecart,Command:/scoreboard objectives add Score dummy},{id:commandblock_minecart,Command:/scoreboard objectives add konst dummy},{id:commandblock_minecart,Command:setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:'{'text':'Slot Machine','color':'dark_blue','clickEvent':{'action':'run_command','value':'/tellraw @a [',{'text':'β---------------β―----------------βnβ ','color':'green'},{'text':' '},{'text':'Slot Machine ','color':'yellow'},{'text':' '},{'text':' βnβ ','color':'green'},{'text':' by '},{'text':' βnβ ','color':'green'},{'text':' MT_Redstone ','color':'red'},{'text':' βnβ― β―nβ ','color':'green'},{'text':' ','color':'dark_red'},{'text':'Channel','color':'red','clickEvent':{'action':'open_url','value':'http://mtredstone.ml'},'hoverEvent':{'action':'show_text','value':[',{'text':'βΆ','color':'red'},{'text':'Click Here'},{'text':'βΆ','color':'red'}]}},{'text':' ','color':'red'},{'text':' ','color':'dark_red'},{'text':' βnβ ','color':'green'},{'text':'Twitter ','color':'aqua','clickEvent':{'action':'open_url','value':'http://mtredstone.ml/twitter'},'hoverEvent':{'action':'show_text','value':[',{'text':'β','color':'aqua'},{'text':'Click Here'},{'text':'β','color':'aqua'}]}},{'text':' ','color':'aqua'},{'text':' β','color':'green'},{'text':'n'},{'text':'β βnβ----------------β―---------------β','color':'green'},{'text':'n '}]'},'bold':true}',Text2:'{'text':'by ','color':'aqua','bold':true}',Text3:'{'text':'MT_Redstone','color':'dark_red','bold':true}',Text4:'{'text':'}'}},{id:commandblock_minecart,Command:setblock ~1 ~-1 ~ wall_sign 4 0 {Text1:'{'text':'Click','color':'red'}',Text2:'{'text':'to','color':'red'}',Text3:'{'text':'Destroy','color':'red'}',Text4:'{'text':'the Machine','color':'red','clickEvent':{'action':'run_command','value':'fill ~ ~-2 ~-2 ~17 ~2 ~2 air'}}'}},{id:commandblock_minecart,Command:fill ~3 ~-2 ~-1 ~17 ~ ~1 chain_command_block 5},{id:commandblock_minecart,Command:setblock ~3 ~ ~ chain_command_block 3},{id:commandblock_minecart,Command:fill ~17 ~ ~ ~4 ~ ~ chain_command_block 4},{id:commandblock_minecart,Command:setblock ~17 ~ ~-1 chain_command_block 3},{id:commandblock_minecart,Command:setblock ~3 ~-1 ~-1 chain_command_block 1},{id:commandblock_minecart,Command:fill ~17 ~-1 ~-1 ~4 ~-1 ~-1 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~17 ~-1 ~ chain_command_block 2},{id:commandblock_minecart,Command:setblock ~3 ~-1 ~1 chain_command_block 2},{id:commandblock_minecart,Command:fill ~17 ~-1 ~1 ~4 ~-1 ~1 chain_command_block 4},{id:commandblock_minecart,Command:setblock ~17 ~-2 ~1 chain_command_block 1},{id:commandblock_minecart,Command:setblock ~3 ~-2 ~ chain_command_block 3},{id:commandblock_minecart,Command:fill ~13 ~-2 ~ ~4 ~-2 ~ chain_command_block 4},{id:commandblock_minecart,Command:fill ~15 ~-2 ~ ~14 ~-2 ~ chain_command_block 12},{id:commandblock_minecart,Command:fill ~17 ~-2 ~ ~16 ~-2 ~ chain_command_block 4},{id:commandblock_minecart,Command:setblock ~17 ~-2 ~-1 chain_command_block 11},{id:commandblock_minecart,Command:fill ~14 ~-2 ~-1 ~16 ~-2 ~-1 chain_command_block 13},{id:commandblock_minecart,Command:fill ~11 ~-2 ~-1 ~12 ~-2 ~-1 chain_command_block 13},{id:commandblock_minecart,Command:fill ~8 ~-2 ~-1 ~9 ~-2 ~-1 chain_command_block 13},{id:commandblock_minecart,Command:setblock ~3 ~-2 ~-1 repeating_command_block 5},{id:commandblock_minecart,Command:blockdata ~5 ~ ~1 {auto:1,Command:'/execute @e[tag=Slots,score_random_min=7,score_random=7] ~ ~ ~ detect ~ ~2 ~ stone_slab -1 entitydata @e[c=1,tag=Slots] {ArmorItems:[{},{},{},{id:'barrier',Count:1b}]}'}},{id:commandblock_minecart,Command:blockdata ~4 ~ ~1 {auto:1,Command:'/execute @e[tag=Slots,score_random_min=6,score_random=6] ~ ~ ~ detect ~ ~2 ~ stone_slab -1 entitydata @e[c=1,tag=Slots] {ArmorItems:[{},{},{},{id:'lapis_block',Count:1b}]}'}},{id:commandblock_minecart,Command:blockdata ~3 ~ ~1 {auto:1,Command:'/execute @e[tag=Slots,score_random_min=5,score_random=5] ~ ~ ~ detect ~ ~2 ~ stone_slab -1 entitydata @e[c=1,tag=Slots] {ArmorItems:[{},{},{},{id:'redstone_block',Count:1b}]}'}},{id:commandblock_minecart,Command:blockdata ~3 ~ ~ {auto:1,Command:'/execute @e[tag=Slots,score_random_min=4,score_random=4] ~ ~ ~ detect ~ ~2 ~ stone_slab -1 entitydata @e[c=1,tag=Slots] {ArmorItems:[{},{},{},{id:'iron_block',Count:1b}]}'}},{id:commandblock_minecart,Command:blockdata ~4 ~ ~ {auto:1,Command:'/execute @e[tag=Slots,score_random_min=3,score_random=3] ~ ~ ~ detect ~ ~2 ~ stone_slab -1 entitydata @e[c=1,tag=Slots] {ArmorItems:[{},{},{},{id:'gold_block',Count:1b}]}'}},{id:commandblock_minecart,Command:blockdata ~5 ~ ~ {auto:1,Command:'/execute @e[tag=Slots,score_random_min=2,score_random=2] ~ ~ ~ detect ~ ~2 ~ stone_slab -1 entitydata @e[c=1,tag=Slots] {ArmorItems:[{},{},{},{id:'emerald_block',Count:1b}]}'}},{id:commandblock_minecart,Command:blockdata ~6 ~ ~ {auto:1,Command:'/execute @e[tag=Slots,score_random_min=1,score_random=1] ~ ~ ~ detect ~ ~2 ~ stone_slab -1 entitydata @e[c=1,tag=Slots] {ArmorItems:[{},{},{},{id:'diamond_block',Count:1b}]}'}},{id:commandblock_minecart,Command:blockdata ~7 ~ ~ {auto:1,Command:/scoreboard players set @r[tag=Slots,type=armor_stand] random 2}},{id:commandblock_minecart,Command:blockdata ~8 ~ ~ {auto:1,Command:/scoreboard players set @r[tag=Slots,type=armor_stand] random 3}},{id:commandblock_minecart,Command:blockdata ~9 ~ ~ {auto:1,Command:/scoreboard players set @r[tag=Slots,type=armor_stand] random 1}},{id:commandblock_minecart,Command:blockdata ~10 ~ ~ {auto:1,Command:/scoreboard players set @r[tag=Slots,type=armor_stand] random 4}},{id:commandblock_minecart,Command:blockdata ~11 ~ ~ {auto:1,Command:/scoreboard players set @r[tag=Slots,type=armor_stand] random 5}},{id:commandblock_minecart,Command:blockdata ~12 ~ ~ {auto:1,Command:/scoreboard players set @r[tag=Slots,type=armor_stand] random 6}},{id:commandblock_minecart,Command:blockdata ~13 ~ ~ {auto:1,Command:/scoreboard players set @r[tag=Slots,type=armor_stand] random 7}},{id:commandblock_minecart,Command:blockdata ~14 ~ ~ {auto:1,Command:kill @e[tag=Coins,score_Score=0]}},{id:commandblock_minecart,Command:blockdata ~15 ~ ~ {auto:1,Command:'execute @e[tag=Coins,score_Score_min=1] ~ ~ ~ /summon item ~ ~3 ~ {CustomName:'Coin',CustomNameVisible:1,Tags:['CI'],Item:{id:double_plant,Count:1b,tag:{HideFlags:63,display:{Name:'Coin',Lore:[Used in Slot Machines]}}},Motion:[0:0.0d,1:1.0d,2:-0.1d]}'}},{id:commandblock_minecart,Command:blockdata ~16 ~ ~ {auto:1,Command:/scoreboard players remove @e[tag=Coins,score_Score_min=1] Score 10}},{id:commandblock_minecart,Command:blockdata ~17 ~ ~ {auto:1,Command:'execute @e[tag=Coins] ~ ~ ~ summon armor_stand ~ ~ ~ {Tags:['Reset'],Invisible:1b,NoGravity:1b}'}},{id:commandblock_minecart,Command:blockdata ~17 ~ ~-1 {auto:1,Command:execute @e[tag=Coins] ~ ~ ~ fill ~-1 ~ ~ ~1 ~ ~ glass}},{id:commandblock_minecart,Command:blockdata ~16 ~ ~-1 {auto:1,Command:execute @e[tag=Coins] ~ ~ ~ scoreboard players reset @e[name=Machine] Score}},{id:commandblock_minecart,Command:blockdata ~15 ~ ~-1 {auto:1,Command:execute @e[tag=Coins] ~ ~ ~ /scoreboard players operation @e[c=1,tag=Coins] Score = @e[name=Machine,c=1,score_Score_min=1] Score}},{id:commandblock_minecart,Command:blockdata ~14 ~ ~-1 {auto:1,Command:'execute @e[name=Machine,score_Score_min=1,tag=Win] ~ ~ ~ /summon area_effect_cloud ~ ~ ~ {Tags:['Coins'],Particle:mobSpell,ReapplicationDelay:0,Radius:0f,RadiusPerTick:0f,WaitTime:100}'}},{id:commandblock_minecart,Command:blockdata ~13 ~ ~-1 {auto:1,Command:execute @e[name=Machine,score_Score_min=40,score_Score=40] ~ ~ ~ fill ~-1 ~ ~ ~1 ~ ~ glass}},{id:commandblock_minecart,Command:blockdata ~12 ~ ~-1 {auto:1,Command:execute @e[tag=IRL,score_stoptimer_min=1] ~ ~ ~-1 /spreadplayers ~ ~ 1 2 false @e[name=IRLI,tag=!OG]}},{id:commandblock_minecart,Command:blockdata ~11 ~ ~-1 {auto:1,Command:kill @e[tag=IRL,score_stoptimer=0]}},{id:commandblock_minecart,Command:blockdata ~10 ~ ~-1 {auto:1,Command:'execute @e[tag=IRL,score_stoptimer_min=1] ~ ~ ~ summon Item ~ ~2.5 ~ {Motion:[0.0,1.0,-0.15],Item:{id:'minecraft:iron_ingot',Count:1},CustomName:'IRLI',Passengers:[{id:'Item',Item:{id:'minecraft:redstone',Count:1b}},{id:'Item',Item:{id:'minecraft:dye',Damage:4s,Count:1b}}]}'}},{id:commandblock_minecart,Command:blockdata ~9 ~ ~-1 {auto:1,Command:execute @e[name=Machine,score_Score_min=40,score_Score=40] ~ ~ ~ scoreboard players set @e[tag=IRL,c=1] stoptimer 20}},{id:commandblock_minecart,Command:blockdata ~8 ~ ~-1 {auto:1,Command:'execute @e[name=Machine,score_Score_min=40,score_Score=40] ~ ~ ~ summon area_effect_cloud ~ ~ ~ {Tags:['IRL'],ReapplicationDelay:0,Radius:0f,RadiusPerTick:0f,WaitTime:100}'}},{id:commandblock_minecart,Command:blockdata ~7 ~ ~-1 {auto:1,Command:execute @e[name=Machine,score_Score_min=50,score_Score=50] ~ ~ ~ fill ~-1 ~ ~ ~1 ~ ~ glass}},{id:commandblock_minecart,Command:blockdata ~6 ~ ~-1 {auto:1,Command:execute @e[tag=GE,score_stoptimer_min=1] ~ ~ ~-1 /spreadplayers ~ ~ 1 2 false @e[name=GEI,tag=!OG]}},{id:commandblock_minecart,Command:blockdata ~5 ~ ~-1 {auto:1,Command:kill @e[tag=GE,score_stoptimer=0]}},{id:commandblock_minecart,Command:blockdata ~4 ~ ~-1 {auto:1,Command:'execute @e[tag=GE,score_stoptimer_min=1] ~ ~ ~ summon Item ~ ~2.5 ~ {Motion:[0.0,1.0,-0.15],Item:{id:'minecraft:gold_ingot',Count:1},CustomName:'GEI',Passengers:[{id:'Item',Item:{id:'minecraft:emerald',Count:1b}}]}'}},{id:commandblock_minecart,Command:blockdata ~3 ~ ~-1 {auto:1,Command:execute @e[name=Machine,score_Score_min=50,score_Score=50] ~ ~ ~ scoreboard players set @e[tag=GE,c=1] stoptimer 32}},{id:commandblock_minecart,Command:blockdata ~3 ~-1 ~-1 {auto:1,Command:'execute @e[name=Machine,score_Score_min=50,score_Score=50] ~ ~ ~ summon area_effect_cloud ~ ~ ~ {Tags:['GE'],ReapplicationDelay:0,Radius:0f,RadiusPerTick:0f,WaitTime:100}'}},{id:commandblock_minecart,Command:blockdata ~4 ~-1 ~-1 {auto:1,Command:/scoreboard players tag @e[tag=DiaI] add OG {OnGround:1b}}},{id:commandblock_minecart,Command:blockdata ~5 ~-1 ~-1 {auto:1,Command:execute @e[tag=Dia,score_stoptimer_min=1] ~ ~ ~-1 /spreadplayers ~ ~ 1 2 false @e[name=DiaI,tag=!OG]}},{id:commandblock_minecart,Command:blockdata ~6 ~-1 ~-1 {auto:1,Command:execute @e[name=Machine,score_Score_min=60,score_Score=60] ~ ~ ~ fill ~-1 ~ ~ ~1 ~ ~ glass}},{id:commandblock_minecart,Command:blockdata ~7 ~-1 ~-1 {auto:1,Command:kill @e[tag=Dia,score_stoptimer=0]}},{id:commandblock_minecart,Command:blockdata ~8 ~-1 ~-1 {auto:1,Command:/scoreboard players remove @e[score_stoptimer_min=1,tag=!Slots] stoptimer 1}},{id:commandblock_minecart,Command:blockdata ~9 ~-1 ~-1 {auto:1,Command:'execute @e[tag=Dia,score_stoptimer_min=1] ~ ~ ~ summon Item ~ ~2.5 ~ {Motion:[0.0,1.0,-0.15],Item:{id:'minecraft:diamond',Count:1},CustomName:'DiaI'}'}},{id:commandblock_minecart,Command:blockdata ~10 ~-1 ~-1 {auto:1,Command:execute @e[name=Machine,score_Score_min=60,score_Score=60] ~ ~ ~ scoreboard players set @e[tag=Dia,c=1] stoptimer 64}},{id:commandblock_minecart,Command:blockdata ~11 ~-1 ~-1 {auto:1,Command:'execute @e[name=Machine,score_Score_min=60,score_Score=60] ~ ~ ~ summon area_effect_cloud ~ ~ ~ {Tags:['Dia'],ReapplicationDelay:0,Radius:0f,RadiusPerTick:0f,WaitTime:100}'}},{id:commandblock_minecart,Command:blockdata ~12 ~-1 ~-1 {auto:1,Command:kill @e[tag=Reset]}},{id:commandblock_minecart,Command:blockdata ~13 ~-1 ~-1 {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ fill ~-2 ~1 ~ ~2 ~-1 ~ cobblestone_wall 0 replace air}},{id:commandblock_minecart,Command:blockdata ~14 ~-1 ~-1 {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ fill ~-2 ~2 ~ ~2 ~2 ~ stone_slab 3}},{id:commandblock_minecart,Command:blockdata ~15 ~-1 ~-1 {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ fill ~2 ~1 ~1 ~-2 ~-1 ~1 stained_hardened_clay 15 }},{id:commandblock_minecart,Command:blockdata ~16 ~-1 ~-1 {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ fill ~1 ~-1 ~ ~-1 ~-1 ~ stained_hardened_clay}},{id:commandblock_minecart,Command:blockdata ~17 ~-1 ~-1 {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ fill ~-1 ~1 ~ ~1 ~1 ~ stained_hardened_clay}},{id:commandblock_minecart,Command:blockdata ~17 ~-1 ~ {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ /setblock ~-1 ~-1 ~-1 hopper 3}},{id:commandblock_minecart,Command:blockdata ~16 ~-1 ~ {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ fill ~-1 ~ ~ ~1 ~ ~ glass}},{id:commandblock_minecart,Command:blockdata ~15 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~-1 ~ ~ {NoGravity:1b,Invisible:1b,Tags:['Test']}'}},{id:commandblock_minecart,Command:blockdata ~14 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~1 ~ ~ {NoGravity:1b,Invisible:1b,Tags:['Test']}'}},{id:commandblock_minecart,Command:blockdata ~13 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~-1 ~-2.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot3','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~12 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~-1 ~-1.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot3','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~11 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~-1 ~-.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot3','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~10 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~ ~-2.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot2','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~9 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~ ~-.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot2','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~8 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~1 ~-2.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot1','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~7 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~1 ~-1.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot1','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~6 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ summon armor_stand ~1 ~-0.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot1','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~5 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~ ~ ~ {NoGravity:1b,Invisible:1b,Tags:['Test']}'}},{id:commandblock_minecart,Command:blockdata ~4 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~ ~-1.3 ~ {Small:1b,ArmorItems:[{},{},{},{id:'barrier',Count:1b}],NoGravity:1b,Invisible:1b,Tags:['Slot2','Slots']}'}},{id:commandblock_minecart,Command:blockdata ~3 ~-1 ~ {auto:1,Command:'execute @e[tag=Reset] ~ ~ ~ /summon armor_stand ~ ~ ~ {CustomName:'Machine',NoGravity:1b,Invisible:1b}'}},{id:commandblock_minecart,Command:blockdata ~3 ~-1 ~1 {auto:1,Command:execute @e[tag=Reset] ~ ~ ~ kill @e[type=armor_stand,r=3,tag=!Reset]}},{id:commandblock_minecart,Command:blockdata ~4 ~-1 ~1 {auto:1,Command:execute @e[tag=Win] ~ ~ ~ detect ~-1 ~ ~ lapis_block 0 execute @e[tag=Win] ~ ~ ~ detect ~ ~ ~ lapis_block 0 execute @e[tag=Win] ~ ~ ~ detect ~1 ~ ~ lapis_block 0 scoreboard players set @e[c=1,name=Machine] Score 40}},{id:commandblock_minecart,Command:blockdata ~5 ~-1 ~1 {auto:1,Command:execute @e[tag=Win] ~ ~ ~ detect ~-1 ~ ~ redstone_block 0 execute @e[tag=Win] ~ ~ ~ detect ~ ~ ~ redstone_block 0 execute @e[tag=Win] ~ ~ ~ detect ~1 ~ ~ redstone_block 0 scoreboard players set @e[c=1,name=Machine] Score 40}},{id:commandblock_minecart,Command:blockdata ~6 ~-1 ~1 {auto:1,Command:execute @e[tag=Win] ~ ~ ~ detect ~-1 ~ ~ iron_block 0 execute @e[tag=Win] ~ ~ ~ detect ~ ~ ~ iron_block 0 execute @e[tag=Win] ~ ~ ~ detect ~1 ~ ~ iron_block 0 scoreboard players set @e[c=1,name=Machine] Score 40}},{id:commandblock_minecart,Command:blockdata ~7 ~-1 ~1 {auto:1,Command:execute @e[tag=Win] ~ ~ ~ detect ~-1 ~ ~ emerald_block 0 execute @e[tag=Win] ~ ~ ~ detect ~ ~ ~ emerald_block 0 execute @e[tag=Win] ~ ~ ~ detect ~1 ~ ~ emerald_block 0 scoreboard players set @e[c=1,name=Machine] Score 50}},{id:commandblock_minecart,Command:blockdata ~8 ~-1 ~1 {auto:1,Command:execute @e[tag=Win] ~ ~ ~ detect ~-1 ~ ~ gold_block 0 execute @e[tag=Win] ~ ~ ~ detect ~ ~ ~ gold_block 0 execute @e[tag=Win] ~ ~ ~ detect ~1 ~ ~ gold_block 0 scoreboard players set @e[c=1,name=Machine] Score 50}},{id:commandblock_minecart,Command:blockdata ~9 ~-1 ~1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~-1 ~ ~ diamond_block 0 execute @e[name=Machine] ~ ~ ~ detect ~ ~ ~ diamond_block 0 execute @e[name=Machine] ~ ~ ~ detect ~1 ~ ~ diamond_block 0 scoreboard players set @e[c=1,name=Machine] Score 60}},{id:commandblock_minecart,Command:blockdata ~10 ~-1 ~1 {auto:1,Command:/scoreboard players operation @e[c=1,name=Machine] Score /= @e[c=1,name=Machine] konst}},{id:commandblock_minecart,Command:blockdata ~11 ~-1 ~1 {auto:1,Command:execute @e[tag=Test] ~ ~ ~ detect ~ ~ ~ lapis_block 0 scoreboard players add @e[c=1,name=Machine] Score 10}},{id:commandblock_minecart,Command:blockdata ~12 ~-1 ~1 {auto:1,Command:execute @e[tag=Test] ~ ~ ~ detect ~ ~ ~ redstone_block 0 scoreboard players add @e[c=1,name=Machine] Score 10}},{id:commandblock_minecart,Command:blockdata ~13 ~-1 ~1 {auto:1,Command:execute @e[tag=Test] ~ ~ ~ detect ~ ~ ~ iron_block 0 scoreboard players add @e[c=1,name=Machine] Score 10}},{id:commandblock_minecart,Command:blockdata ~14 ~-1 ~1 {auto:1,Command:execute @e[tag=Test] ~ ~ ~ detect ~ ~ ~ emerald_block 0 scoreboard players add @e[c=1,name=Machine] Score 20}},{id:commandblock_minecart,Command:blockdata ~15 ~-1 ~1 {auto:1,Command:execute @e[tag=Test] ~ ~ ~ detect ~ ~ ~ gold_block 0 scoreboard players add @e[c=1,name=Machine] Score 20}},{id:commandblock_minecart,Command:blockdata ~16 ~-1 ~1 {auto:1,Command:execute @e[tag=Test] ~ ~ ~ detect ~ ~ ~ diamond_block 0 scoreboard players add @e[c=1,name=Machine] Score 30}},{id:commandblock_minecart,Command:blockdata ~17 ~-1 ~1 {auto:1,Command:execute @e[tag=Test] ~ ~ ~ scoreboard players set @e[c=1,name=Machine] Score 0}},{id:commandblock_minecart,Command:blockdata ~17 ~-2 ~1 {auto:1,Command:execute @e[tag=Slot3,score_stoptimer=1,score_stoptimer_min=1] ~ ~ ~ scoreboard players tag @e[c=1,name=Machine] add Win}},{id:commandblock_minecart,Command:blockdata ~16 ~-2 ~1 {auto:1,Command:/scoreboard players remove @e[score_stoptimer_min=1] stoptimer 1}},{id:commandblock_minecart,Command:blockdata ~15 ~-2 ~1 {auto:1,Command:execute @e[tag=Slots,score_stoptimer=5,score_stoptimer_min=1] ~ ~ ~ detect ~ ~1 ~ glass -1 execute @e[c=1,r=0,score_random=7,score_random_min=7] ~ ~ ~ setblock ~ ~1 ~ dirt}},{id:commandblock_minecart,Command:blockdata ~14 ~-2 ~1 {auto:1,Command:execute @e[tag=Slots,score_stoptimer=5,score_stoptimer_min=1] ~ ~ ~ detect ~ ~1 ~ glass -1 execute @e[c=1,r=0,score_random=6,score_random_min=6] ~ ~ ~ setblock ~ ~1 ~ lapis_block}},{id:commandblock_minecart,Command:blockdata ~13 ~-2 ~1 {auto:1,Command:execute @e[tag=Slots,score_stoptimer=5,score_stoptimer_min=1] ~ ~ ~ detect ~ ~1 ~ glass -1 execute @e[c=1,r=0,score_random=5,score_random_min=5] ~ ~ ~ setblock ~ ~1 ~ redstone_block}},{id:commandblock_minecart,Command:blockdata ~12 ~-2 ~1 {auto:1,Command:execute @e[tag=Slots,score_stoptimer=5,score_stoptimer_min=1] ~ ~ ~ detect ~ ~1 ~ glass -1 execute @e[c=1,r=0,score_random=4,score_random_min=4] ~ ~ ~ setblock ~ ~1 ~ iron_block}},{id:commandblock_minecart,Command:blockdata ~11 ~-2 ~1 {auto:1,Command:execute @e[tag=Slots,score_stoptimer=5,score_stoptimer_min=1] ~ ~ ~ detect ~ ~1 ~ glass -1 execute @e[c=1,r=0,score_random=3,score_random_min=3] ~ ~ ~ setblock ~ ~1 ~ gold_block}},{id:commandblock_minecart,Command:blockdata ~10 ~-2 ~1 {auto:1,Command:execute @e[tag=Slots,score_stoptimer=5,score_stoptimer_min=1] ~ ~ ~ detect ~ ~1 ~ glass -1 execute @e[c=1,r=0,score_random=2,score_random_min=2] ~ ~ ~ setblock ~ ~1 ~ emerald_block}},{id:commandblock_minecart,Command:blockdata ~9 ~-2 ~1 {auto:1,Command:execute @e[tag=Slots,score_stoptimer=5,score_stoptimer_min=1] ~ ~ ~ detect ~ ~1 ~ glass -1 execute @e[c=1,r=0,score_random=1,score_random_min=1] ~ ~ ~ setblock ~ ~1 ~ diamond_block}},{id:commandblock_minecart,Command:blockdata ~8 ~-2 ~1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~ ~-1 ~-1 stone_button 12 setblock ~ ~-1 ~-1 air}},{id:commandblock_minecart,Command:blockdata ~7 ~-2 ~1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~ ~-1 ~-1 stone_button 12 scoreboard players set @e[c=3,tag=Slot3] stoptimer 60}},{id:commandblock_minecart,Command:blockdata ~6 ~-2 ~1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~ ~-1 ~-1 stone_button 12 scoreboard players set @e[c=3,tag=Slot2] stoptimer 40}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~ ~-1 ~-1 stone_button 12 scoreboard players set @e[c=3,tag=Slot1] stoptimer 20}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~1 {auto:1,Command:/scoreboard players tag @e remove tp}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~1 {auto:1,Command:tp @e[tag=tp] ~ ~ ~-1}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~ {auto:1,Command:tp @e[tag=tp] ~ ~3 ~}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~ {auto:1,Command:tp @e[tag=tp] ~ ~ ~1}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~ {auto:1,Command:execute @e[tag=rotate,score_MoveDown=0] ~ ~ ~ detect ~ ~2 ~ glass 0 scoreboard players tag @e[c=1,tag=Slots] add tp}},{id:commandblock_minecart,Command:blockdata ~6 ~-2 ~ {auto:1,Command:execute @e[tag=rotate,score_MoveDown=0] ~ ~ ~ detect ~ ~2 ~ glass 0 scoreboard players set @e[c=1,tag=rotate] random 0}},{id:commandblock_minecart,Command:blockdata ~7 ~-2 ~ {auto:1,Command:/scoreboard players remove @e[score_MoveDown_min=1] MoveDown 1}},{id:commandblock_minecart,Command:blockdata ~8 ~-2 ~ {auto:1,Command:tp @e[score_MoveDown_min=1] ~ ~-0.125 ~}},{id:commandblock_minecart,Command:blockdata ~9 ~-2 ~ {auto:1,Command:execute @e[tag=rotate,score_MoveDown=0] ~ ~ ~ detect ~ ~ ~ glass -1 scoreboard players set @e[c=1,tag=rotate] MoveDown 8}},{id:commandblock_minecart,Command:blockdata ~10 ~-2 ~ {auto:1,Command:execute @e[tag=rotate,score_MoveDown=0] ~ ~ ~ detect ~ ~-1 ~ glass -1 scoreboard players set @e[c=1,tag=rotate] MoveDown 8}},{id:commandblock_minecart,Command:blockdata ~11 ~-2 ~ {auto:1,Command:execute @e[tag=rotate] ~ ~ ~ detect ~ ~1 ~ glass -1 scoreboard players set @e[c=1,tag=rotate] MoveDown 8}},{id:commandblock_minecart,Command:blockdata ~12 ~-2 ~ {auto:1,Command:/scoreboard players set @e[c=1,name=Machine] konst2 10}},{id:commandblock_minecart,Command:blockdata ~13 ~-2 ~ {auto:1,Command:/scoreboard players set @e[c=1,name=Machine] konst 3}},{id:commandblock_minecart,Command:blockdata ~14 ~-2 ~ {auto:1,Command:execute @e[name=Machine] ~ ~ ~ kill @e[type=armor_stand,r=4]}},{id:commandblock_minecart,Command:blockdata ~15 ~-2 ~ {auto:1,Command:execute @e[name=Machine] ~ ~ ~ fill ~2 ~-1 ~1 ~-2 ~2 ~-1 air}},{id:commandblock_minecart,Command:blockdata ~16 ~-2 ~ {auto:1,Command:'execute @e[name=Machine] ~ ~ ~ testforblock ~-1 ~-1 ~-1 hopper 3 {Items:[0:{id:'minecraft:torch',Count:1b}],id:'minecraft:hopper'}'}},{id:commandblock_minecart,Command:blockdata ~17 ~-2 ~ {auto:1,Command:kill @e[tag=Reset1]}},{id:commandblock_minecart,Command:blockdata ~17 ~-2 ~-1 {auto:1,Command:execute @a ~ ~ ~ detect ~ ~-1 ~ chest -1 tp @p ~ ~ ~-1 0 0}},{id:commandblock_minecart,Command:blockdata ~16 ~-2 ~-1 {auto:1,Command:tp @e[tag=Reset] ~ ~ ~0.5 }},{id:commandblock_minecart,Command:blockdata ~15 ~-2 ~-1 {auto:1,Command:'execute @a ~ ~ ~ detect ~ ~-1 ~ chest -1 execute @e[tag=Reset1,c=1] ~ ~ ~ summon armor_stand ~ ~ ~ {Tags:['Reset']}'}},{id:commandblock_minecart,Command:blockdata ~14 ~-2 ~-1 {auto:1,Command:'execute @a ~ ~ ~ detect ~ ~-1 ~ chest -1 summon item_frame ~ ~ ~ {Tags:['Reset1']}'}},{id:commandblock_minecart,Command:blockdata ~13 ~-2 ~-1 {auto:1,Command:'execute @a ~ ~ ~ /testforblock ~ ~-1 ~ chest -1 {Items:[0:{Slot:0b,id:'minecraft:iron_ingot',Count:1b,Damage:0s},1:{Slot:1b,id:'minecraft:gold_ingot',Count:1b,Damage:0s},2:{Slot:7b,id:'minecraft:gold_ingot',Count:1b,Damage:0s},3:{Slot:8b,id:'minecraft:iron_ingot',Count:1b,Damage:0s},4:{Slot:9b,id:'minecraft:iron_ingot',Count:1b,Damage:0s},5:{Slot:10b,id:'minecraft:gold_ingot',Count:1b,Damage:0s},6:{Slot:13b,id:'minecraft:redstone_block',Count:1b,Damage:0s},7:{Slot:16b,id:'minecraft:gold_ingot',Count:1b,Damage:0s},8:{Slot:17b,id:'minecraft:iron_ingot',Count:1b,Damage:0s},9:{Slot:18b,id:'minecraft:iron_ingot',Count:1b,Damage:0s},10:{Slot:19b,id:'minecraft:gold_ingot',Count:1b,Damage:0s},11:{Slot:25b,id:'minecraft:gold_ingot',Count:1b,Damage:0s},12:{Slot:26b,id:'minecraft:iron_ingot',Count:1b,Damage:0s}]}'}},{id:commandblock_minecart,Command:blockdata ~12 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ setblock ~-1 ~-1 ~-1 air}},{id:commandblock_minecart,Command:blockdata ~11 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ setblock ~1 ~-1 ~-1 stone_button}},{id:commandblock_minecart,Command:blockdata ~10 ~-2 ~-1 {auto:1,Command:'execute @e[name=Machine] ~ ~ ~ testforblock ~-1 ~-1 ~-1 hopper 3 {Items:[0:{id:'minecraft:gold_nugget',Count:1b}],id:'minecraft:hopper'}'}},{id:commandblock_minecart,Command:blockdata ~9 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ setblock ~-1 ~-1 ~-1 air}},{id:commandblock_minecart,Command:blockdata ~8 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ setblock ~1 ~-1 ~-1 stone_button}},{id:commandblock_minecart,Command:blockdata ~7 ~-2 ~-1 {auto:1,Command:'execute @e[name=Machine] ~ ~ ~ testforblock ~-1 ~-1 ~-1 hopper 3 {Items:[0:{id:'minecraft:double_plant',Count:1b,tag:{HideFlags:63,display:{Lore:[0:'Used in Slot Machines'],Name:'Coin'}},Damage:0s}],id:'minecraft:hopper'}'}},{id:commandblock_minecart,Command:blockdata ~6 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~1 ~-1 ~-1 stone_button 12 setblock ~1 ~-1 ~-1 air}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~1 ~-1 ~-1 stone_button 12 setblock ~ ~-1 ~-1 stone_button 4}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~1 ~-1 ~-1 stone_button 12 scoreboard players set @e[c=9,tag=Slots] MoveDown 0}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~-1 {auto:1,Command:execute @e[name=Machine] ~ ~ ~ detect ~1 ~-1 ~-1 stone_button 12 scoreboard players tag @e[c=9,tag=Slots] add rotate}},{id:commandblock_minecart,Command:setblock ~ ~ ~1 command_block 0 0 {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~1 redstone_block},{id:commandblock_minecart,Command:kill @e[type=commandblock_minecart,r=1]}]}]}]}
One Command Block Machines
This gambling machine is awesome. Can You imagine that You can literally own a gambling machine in Minecraft and if You are lucky it will even give You a beautiful diamond or if You are not that lucky then something else. You can try it out Yourself, but be careful cause it is pretty addictive. This machine is just too cool not to have, You can just build it inside Your house or place it anywhere else, because it is not big at all. If You want to have this machine, then be ready for some digging and connecting, it is not very hard and in the end You'll have this amazing gambling machine!
Blocks you'll need:
Dirt | 279 |
Grass | 124 |
Redstone Wire | 37 |
Oak Wood Plank | 27 |
Oak Wood | 12 |
Redstone Repeater Block | 10 |
Redstone Torch | 8 |
Stone Slab | 7 |
Dropper | 6 |
Gold Block | 6 |
Hopper | 5 |
Redstone Comparator | 4 |
Redstone Lamp | 3 |
Chest | 1 |
Redstone Block | 1 |
View Other Materials | 9 |
Skill level | 1 |
Object added | 05 Nov 2015 |
Width | 12 |
Height | 7 |
Depth | 12 |
Tags | |
Block Count | 530 |
Object materials | |
Dirt | 279 |
Grass | 124 |
Redstone Wire (Power:0) | 30 |
Oak Wood Plank | 27 |
Oak Wood | 12 |
Stone Slab | 7 |
Dropper (Facing North, Unactive) | 6 |
Gold Block | 6 |
Redstone Wire (Power:15) | 5 |
Redstone Lamp (inactive) | 3 |
Redstone Repeater Block (off) (Facing East, Delay of 1 tick) | 3 |
Redstone Repeater Block (off) (Facing North, Delay of 1 tick | 3 |
Redstone Torch (on) (Facing West) | 3 |
Redstone Comparator (Facing North, Unset, Unpowered ) | 3 |
Redstone Torch (on) (Facing Up) | 3 |
Hopper (Output Facing South, Activated) | 3 |
Redstone Repeater Block (off) (Facing South, Delay of 1 tick | 2 |
Redstone Wire (Power:14) | 2 |
Redstone Comparator (Facing South, Unset, Unpowered ) | 1 |
Redstone Repeater Block (off) (Facing East, Delay of 4 ticks | 1 |
Redstone Repeater Block (on) (Facing North, Delay of 1 tick) | 1 |
Hopper (Output Facing Down, Disabled) | 1 |
Redstone Torch (off) (Facing West) | 1 |
Redstone Torch (on) (Facing North) | 1 |
Chest (North) | 1 |
Hopper (Output Facing Down, Activated) | 1 |
Redstone Block | 1 |
Command Machines For Minecraft
'Lack of operating instructions make this machine pretty pointless. I built it and then stared at it wondering how to activate it to do a test run, No information on where to add items or how to activate the machine.' -
'does it not work for the ps4? please contact me. bendaniel001@yahoo.com or 5303109038. thank you!!!' -
Generating model...
(left click: forward, right click: backward, Movement: W, A, S, D, R, F, Toggle mouse tracking - C)
Slot Machine Minecraft Tutorial
12 Blocks