Камень, ножницы, бумага - это знаменитая игра, которая распространена практически по всем странам мира. Чаще всего ее применяли в виде "жеребьёвки". Игра была создана около 16 века н.э. и за такое огромное количество веков ее никто не забыл, и применяют по сей день. В этой статье я Вам покажу очень интересную команду для командного блока, с помощью которой можно играть в "Камень, ножницы, бумага" прямо в Minecraft! Ничего сложного в создании механизма нет и сделать это может любой пользователь, играющий на версии Minecraft 1.11.2.
Процесс игры довольно-таки просто. Пользователь должны выбросить в одно место камень, ножницы и бумагу, после чего у него появится яйцо создающее стулья и стол. После чего игроки должны занять свои места. Затем им даётся несколько блоков на главный фон инвентаря. Чтобы выбрать свой предмет надо выкинуть его на стол клавишей "Q". Правила игры никак не отличаются от реальной жизни: уничтожение камня бумагой; ножницы бьют бумагу; камнем уничтожаются ножницы. Играть можно бесконечно, поэтому наберитесь терпения, ведь могут быть и поражения. Хочется сразу заметить, что пока оба соперника не выберут свой предмет, они их не увидят, это сделано, чтобы игроки не подглядывали выбор других. Более подробно всё будет показано на видео:
summon falling_block ~ ~1 ~ {Block:hardened_clay,data:0,Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:gamerule commandBlockOutput false},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:fill ~1 ~-2 ~3 ~-2 ~6 ~13 stained_glass 10 hollow},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:fill ~1 ~5 ~3 ~-2 ~5 ~13 air},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:fill ~1 ~-4 ~3 ~-2 ~-4 ~13 purpur_slab 8},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:summon falling_block ~-1 ~-3 ~11 {Block:chain_command_block,data:0,TileEntitydata:{Command:summon falling_block ~ ~1 ~-7 {Block:chain_command_block,data:1,TileEntitydata:{Command:},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:scoreboard objectives add rpsItm dummy},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:scoreboard players set @e[type=Item] rpsItm 1 {OnGround:1b,Item:{id:"minecraft:stone",Count:1b}}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:scoreboard players set @e[type=Item] rpsItm 2 {OnGround:1b,Item:{id:"minecraft:paper",Count:1b}}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:scoreboard players set @e[type=Item] rpsItm 3 {OnGround:1b,Item:{id:"minecraft:shears",Count:1b}}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[type=Item,score_rpsItm_min=1,score_rpsItm=1] ~ ~ ~ execute @e[type=Item,score_rpsItm_min=2,score_rpsItm=2,r=1] ~ ~ ~ execute @e[type=Item,score_rpsItm_min=3,score_rpsItm=7,r=1] ~ ~ ~ particle endRod ~ ~.4 ~ 0 0 0 .1 10 force},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:5,TileEntitydata:{Command:execute @e[type=Item,score_rpsItm_min=1,score_rpsItm=1] ~ ~ ~ execute@e[type=Item,score_rpsItm_min=2,score_rpsItm=2,r=1] ~ ~ ~ execute @e[type=Item,score_rpsItm_min=3,score_rpsItm=7,r=1] ~ ~ ~ summon item ~ ~ ~ {CustomName:"ROCK-PAPER-SCISSORS",CustomNameVisible:1,Item:{id:spawn_egg,Damage:101,Count:1b,tag:{HideFlags:33,display:{Name:"Rock - Paper - Scissors"},ench:[{id:35,lvl:0}],EntityTag:{id:"minecraft:rabbit",Tags:["RPSRBT"]}}},Motion:[0.0,0.4,0.0]}},Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:summon falling_block ~1 ~1 ~-7 {Block:chain_command_block,data:3,TileEntitydata:{Command:execute @e[tag=RPSRBT] ~-1 ~-1.97 ~.13 summon armor_stand ~ ~ ~ {CustomName:"ASRPS1",NoGravity:1b,Marker:1b,Invisible:1,ArmorItems:[{},{},{},{id:iron_bars,Count:1b}],Pose:{Head:[30f,0f,0f]},Rotation:[180f,0f],Tags:[RPSCHR]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[tag=RPSRBT] ~-1 ~-.84 ~ summon armor_stand ~ ~ ~ {CustomName:"ASRPS1",NoGravity:1b,Marker:1b,Invisible:1,ArmorItems:[{},{},{},{id:wooden_pressure_plate,Count:1b}],Tags:[RPSCHR]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[tag=RPSRBT] ~1 ~-.84 ~ summon armor_stand ~ ~ ~ {CustomName:"ASRPS1",NoGravity:1b,Marker:1b,Invisible:1,ArmorItems:[{},{},{},{id:wooden_pressure_plate,Count:1b}],Tags:[RPS3]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[tag=RPSRBT] ~1 ~-1.97 ~.13 summon armor_stand ~ ~ ~ {CustomName:"ASRPS1",NoGravity:1b,Marker:1b,Invisible:1,ArmorItems:[{},{},{},{id:iron_bars,Count:1b}],Pose:{Head:[30f,0f,0f]},Rotation:[180f,0f],Tags:[RPS2]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[tag=RPSRBT] ~1 ~-1.97 ~-.13 summon armor_stand ~ ~ ~ {CustomName:"ASRPS1",NoGravity:1b,Marker:1b,Invisible:1,ArmorItems:[{},{},{},{id:iron_bars,Count:1b}],Pose:{Head:[30f,0f,0f]},Tags:[RPS1]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[tag=RPSRBT] ~ ~ ~ setblock ~ ~ ~ crafting_table},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[type=Item,score_rpsItm_min=1,score_rpsItm=1] ~ ~ ~ execute @e[type=Item,score_rpsItm_min=2,score_rpsItm=2,r=1] ~ ~ ~ execute @e[type=Item,score_rpsItm_min=3,score_rpsItm=7,r=1] ~ ~ ~ kill @e[type=item,score_rpsItm_min=1,score_rpsItm=3,r=2]},Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:summon falling_block ~1 ~1 ~-6 {Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[tag=RPSRBT] ~-1 ~-1.97 ~-.13 summon armor_stand ~ ~ ~ {CustomName:"ASRPS1",NoGravity:1b,Marker:1b,Invisible:1,ArmorItems:[{},{},{},{id:iron_bars,Count:1b}],Pose:{Head:[30f,0f,0f]},Tags:[RPSCHR]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[tag=RPSRBT] ~-1 ~-.85 ~ summon horse ~ ~ ~ {CustomName:"SEAT1",Tags:["RPSHRS"],NoGravity:1b,Variant:7,Tame:1,Attributes:[{Name:generic.maxHealth,Base:10}],Invulnerable:1,Health:10.0f,NoAI:1,Silent:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:199999980,ShowParticles:0b}],Rotation:[-90f,0f],Team:"rpsCls"}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[tag=RPSRBT] ~1 ~-.85 ~ summon horse ~ ~ ~ {CustomName:"SEAT2",Tags:["RPSHRS"],NoGravity:1b,Variant:7,Tame:1,Attributes:[{Name:generic.maxHealth,Base:10}],Invulnerable:1,Health:10.0f,NoAI:1,Silent:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:199999980,ShowParticles:0b}],Rotation:[90f,0f],Team:"rpsCls"}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:tp @e[tag=RPSRBT] ~ ~-400 ~},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:entitydata @e[tag=RPSCHR] {Fire:100s}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:scoreboard teams add rpsCls},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:4,TileEntitydata:{Command:scoreboard teams option rpsCls collisionRule never},Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:summon falling_block ~ ~1 ~-6 {Block:chain_command_block,data:3,TileEntitydata:{Command:execute @e[name=SEAT1] ~1 ~2 ~ kill @e[type=armor_stand,name=!ASRPS1,dy=1,r=1,c=1]},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1] ~1 ~2 ~ execute @e[type=armor_stand,name=!ASRPS1,dy=1,r=1,c=1] ~ ~ ~ summon silverfish ~.8 ~.3 ~{CustomName:"SLV",NoGravity:1b,Attributes:[{Name:generic.maxHealth,Base:1}],Health:1.0f,NoAI:1,Silent:1,Team:"rpsCls",ActiveEffects:[{Id:14,Amplifier:1,Duration:199999980,ShowParticles:0b}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1] ~1 ~2 ~ execute @e[type=armor_stand,name=!ASRPS1,dy=1,r=1,c=1] ~ ~ ~ summon armor_stand ~1.1 ~-1.1 ~{CustomName:"AI",CustomNameVisible:1,NoGravity:1b,ArmorItems:[{id:leather_boots,Count:1b,tag:{display:{color:2171169}}},{id:leather_leggings,Count:1b,tag:{display:{color:7039851}}},{id:leather_chestplate,Count:1b,tag:{display:{color:11908533}}},{id:skull,Damage:3,Count:1b,tag:{SkullOwner:{Id:"d9b02764-88e5-4b54-8ebd-080e1b09118d",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmUyM2Q2MDdlOTJlNzI5YWY5NjY0YmZhMjZiZTk1OGI0YjJmOWYzZTAxMmVlZDgzM2Y5YTM1ZWE0YzRiMCJ9fX0="}]}}}}],DisabledSlots:2039583,ShowArms:1,NoBasePlate:1,Rotation:[90f,0f],Pose:{Head:[15f,0f,0f],LeftLeg:[-70f,-10f,-10f],RightLeg:[-80f,10f,10f],LeftArm:[-30f,2f,-3f],RightArm:[-50f,10f,0f],Body:[-2f,4f,-3f]},Marker:1}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:scoreboard players tag @a add P2 {RootVehicle:{Entity:{id:"minecraft:horse",CustomName:"SEAT2"}}}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:scoreboard players tag @a add P1 {RootVehicle:{Entity:{id:"minecraft:horse",CustomName:"SEAT1"}}}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:scoreboard players tag @a[tag=P1] remove P1},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:scoreboard players tag @a[tag=P2] remove P2},Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:summon falling_block ~ ~1 ~-5 {Block:chain_command_block,data:1,TileEntitydata:{Command:entitydata @e[name=AI] {Fire:100s}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:entitydata @e[name=SEAT2] {Age:1}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[name=AI] ~ ~ ~ entitydata @e[name=SEAT2,r=1,c=1] {Age:-12000}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:scoreboard objectives add rpsRmv stat.killEntity.Silverfish},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @a[score_rpsRmv_min=1] ~ ~ ~ execute @e[name=AI,r=9,c=1] ~ ~ ~ summon item ~ ~.5 ~ {Item:{id:armor_stand,Count:1b}}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @a[score_rpsRmv_min=1] ~ ~ ~ kill @e[name=AI,r=9,c=1]},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:5,TileEntitydata:{Command:execute @e[name=SEAT2] ~ ~1 ~ kill @e[type=xp_orb,r=2]},Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,data:0,TileEntitydata:{Command:summon falling_block ~1 ~1 ~-5 {Block:chain_command_block,data:3,TileEntitydata:{Command:scoreboard players reset @a[score_rpsRmv_min=1] rpsRmv},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1] ~1 ~1 ~ detect ~ ~ ~ air 0 tp @e[name=SEAT1,r=2,c=1] ~ ~-400 ~},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1] ~1 ~1 ~ detect ~ ~ ~ air 0 summon item ~ ~ ~ {CustomName:"ROCK-PAPER-SCISSORS",CustomNameVisible:1,Item:{id:spawn_egg,Damage:101,Count:1b,tag:{HideFlags:33,display:{Name:"Rock - Paper - Scissors"},ench:[{id:35,lvl:0}],EntityTag:{id:"minecraft:rabbit",Tags:["RPSRBT"]}}},Motion:[0.0,0.4,0.0]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1] ~1 ~1 ~ detect ~ ~ ~ air 0 tp @e[name=SEAT2,r=2,c=1] ~ ~-400 ~},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1] ~1 ~ ~ detect ~ ~1 ~ air 0 kill @e[name=ASRPS1,r=2,c=6]},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1] ~1 ~1 ~ detect ~ ~ ~ air 0 kill @e[name=SLV,r=2,c=1]},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1] ~1 ~1 ~ detect ~ ~ ~ air 0 kill @e[name=AI,r=2,c=1]},Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:redstone_block,data:0,Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:summon falling_block ~ ~-1 ~11 {Block:chain_command_block,data:0,TileEntitydata:{Command:summon falling_block ~ ~1 ~-4 {Block:chain_command_block,data:1,TileEntitydata:{Command:entitydata @e[tag=RPS3] {Fire:100s}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @a[score_rpsItm_min=1,score_rpsItm=1] ~ ~ ~ tp @p[tag=P2,r=4] ~ ~.0001 ~},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:scoreboard players tag @a add P1 {RootVehicle:{Entity:{id:"minecraft:horse",CustomName:"SEAT1"}}}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:scoreboard players tag @a add P2 {RootVehicle:{Entity:{id:"minecraft:horse",CustomName:"SEAT2"}}}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[name=SEAT2] ~ ~ ~ scoreboard players tag @e[name=AI,r=1,c=1] add P2},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:replaceitem entity @a[tag=P1] slot.hotbar.3 minecraft:barrier 1 0 {HideFlags:33,display:{Name:"ROCK"},ench:[{id:35,lvl:0}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:4,TileEntitydata:{Command:replaceitem entity @a[tag=P1] slot.hotbar.4 minecraft:barrier 1 0 {HideFlags:33,display:{Name:"PAPER"},ench:[{id:35,lvl:0}]}},Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:summon falling_block ~-1 ~1 ~-4 {Block:chain_command_block,data:3,TileEntitydata:{Command:execute @e[name=SEAT1] ~ ~ ~ execute @p[tag=!RPSSTR,r=2] ~ ~ ~ execute @e[type=item,tag=BRR,r=3] ~ ~ ~ scoreboard players set @e[name=SEAT1,r=3,c=1] rpsItm 1},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:scoreboard players tag @e[type=Item] add BRR {Item:{id:"minecraft:barrier",Count:1b}}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1,tag=!STARTED] ~ ~ ~ title @p[tag=P1,r=2] actionbar ["",{"text":"Drop a barrier to start the game!","color":"white"}]},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:replaceitem entity @a[tag=P2] slot.hotbar.5 minecraft:barrier 1 0 {HideFlags:33,display:{Name:"SCISSORS"},ench:[{id:35,lvl:0}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:replaceitem entity @a[tag=P2] slot.hotbar.4 minecraft:barrier 1 0 {HideFlags:33,display:{Name:"PAPER"},ench:[{id:35,lvl:0}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:replaceitem entity @a[tag=P2] slot.hotbar.3 minecraft:barrier 1 0 {HideFlags:33,display:{Name:"ROCK"},ench:[{id:35,lvl:0}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:replaceitem entity @a[tag=P1] slot.hotbar.5 minecraft:barrier 1 0 {HideFlags:33,display:{Name:"SCISSORS"},ench:[{id:35,lvl:0}]}},Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:summon falling_block ~-1 ~1 ~-3 {Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=1,tag=!STARTED] ~ ~ ~ kill @e[type=item,tag=BRR,r=5]},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:scoreboard players add @e[name=SEAT1,score_rpsItm_min=1] rpsItm 1},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:scoreboard players set @e[name=SEAT1,score_rpsItm_min=121] rpsItm 1},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:scoreboard players tag @e[name=SEAT1,score_rpsItm_min=1] add STARTED},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[name=SEAT1,tag=STARTED,score_rpsItm_min=1,score_rpsItm=40] ~ ~ ~ title @p[tag=P1,r=2] actionbar ["",{"text":"Dismount to ","color":"white"},{"text":"end ","color":"white","bold":true},{"text":"the game!","color":"white","bold":false}]},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:scoreboard players set @a[tag=P1] rpsItm 3},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:5,TileEntitydata:{Command:scoreboard players remove @a[score_rpsItm_min=1] rpsItm 1},Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:summon falling_block ~ ~1 ~-3 {Block:chain_command_block,data:3,TileEntitydata:{Command:scoreboard players reset @a[score_rpsItm_min=0,score_rpsItm=0] rpsItm},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:scoreboard players tag @a[tag=P1,score_rpsItm_min=1,score_rpsItm=1] remove P1},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=41] ~ ~ ~ execute @a[tag=P1] ~ ~ ~ title @a[r=4] actionbar ["",{"text":"RESULTS:","color":"white","bold":true},{"text":" ","color":"none","bold":false},{"selector":"@e[tag=P1]","color":"red","bold":true},{"text":" ","color":"none","bold":false},{"score":{"name":"@e[tag=P1]","objective":"rpsScr"},"color":"dark_red","bold":true},{"text":"points","color":"dark_red","bold":false},{"text":" - ","color":"none"},{"selector":"@e[tag=P2]","color":"red","bold":true},{"text":" ","color":"none","bold":false},{"score":{"name":"@e[tag=P2]","objective":"rpsScr"},"color":"dark_red","bold":true},{"text":" points","color":"dark_red","bold":false}]},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @a[score_rpsItm_min=1,score_rpsItm=1] ~ ~ ~ scoreboard players reset @e[score_rpsScr_min=1,r=4] rpsScr},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @a[tag=P1,score_rpsItm_min=1,score_rpsItm=1] ~ ~ ~ scoreboard players tag @a[tag=P2,r=4] remove P2},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @a[score_rpsItm_min=1,score_rpsItm=1] ~ ~ ~ scoreboard players tag @e[name=SEAT1,r=3,c=1] remove STARTED},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @a[score_rpsItm_min=1,score_rpsItm=1] ~ ~ ~ scoreboard players reset @e[name=SEAT1,r=3,c=1]},Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:summon falling_block ~ ~1 ~-2 {Block:chain_command_block,data:1,TileEntitydata:{Command:entitydata @e[tag=RPS1] {Fire:100s}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:entitydata @e[tag=RPS2] {Fire:100s}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:scoreboard objectives add rpsScr dummy},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=25,score_rpsItm=25] ~ ~ ~ playsound block.note.bass master @a ~ ~ ~ 1 1},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=50,score_rpsItm=50] ~ ~ ~ playsound block.note.bass master @a ~ ~ ~ 1 1},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=75,score_rpsItm=75] ~ ~ ~ playsound block.note.pling master @a ~ ~ ~ .5 2},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:4,TileEntitydata:{Command:scoreboard objectives add rpsRps dummy},Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,data:0,TileEntitydata:{Command:summon falling_block ~-1 ~1 ~-2 {Block:chain_command_block,data:3,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=11,score_rpsItm=11] ~ ~ ~ execute @e[tag=RPS3,score_rpsItm_min=1,r=4,c=1] ~ ~ ~ scoreboard players set @e[tag=P2,r=4,c=1] rpsRps 3},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=11,score_rpsItm=11] ~ ~ ~ execute @e[tag=RPS2,score_rpsItm_min=1,r=4,c=1] ~ ~ ~ scoreboard players set @e[tag=P2,r=4,c=1] rpsRps 2},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=11,score_rpsItm=11] ~ ~ ~ execute @e[tag=RPS1,score_rpsItm_min=1,r=4,c=1] ~ ~ ~ scoreboard players set @e[tag=P2,r=4,c=1] rpsRps 1},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=10,score_rpsItm=10] ~ ~ ~ scoreboard players set @r[type=armor_stand,name=ASRPS1,tag=!RPSCHR,r=4] rpsItm 1},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:scoreboard players set @a rpsRps 3 {Inventory:[{Slot:-106b,id:minecraft:barrier,tag:{display:{Name:"SCISSORS"}}}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:scoreboard players set @a rpsRps 2 {Inventory:[{Slot:-106b,id:minecraft:barrier,tag:{display:{Name:"PAPER"}}}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:scoreboard players set @a rpsRps 1 {Inventory:[{Slot:-106b,id:minecraft:barrier,tag:{display:{Name:"ROCK"}}}]}},Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:redstone_block,data:0,Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:summon falling_block ~-1 ~1 ~12 {Block:chain_command_block,data:0,TileEntitydata:{Command:summon falling_block ~ ~1 ~-2 {Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=80,score_rpsItm=80] ~ ~ ~ execute @e[score_rpsRps_min=1,score_rpsRps=1] ~ ~ ~ scoreboard players add @e[score_rpsRps_min=2,score_rpsRps=2,r=4,c=1] rpsScr 1},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=80,score_rpsItm=80] ~ ~ ~ execute @e[score_rpsRps_min=2,score_rpsRps=2] ~ ~ ~ scoreboard players add @e[score_rpsRps_min=3,score_rpsRps=3,r=4,c=1] rpsScr 1},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=80,score_rpsItm=80] ~ ~ ~ execute @e[score_rpsRps_min=3,score_rpsRps=3] ~ ~ ~ scoreboard players add @e[score_rpsRps_min=1,score_rpsRps=1,r=4,c=1] rpsScr 1},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=81,score_rpsItm=81] ~ ~ ~ scoreboard players reset @e[name=ASRPS1,score_rpsItm_min=1]},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=81,score_rpsItm=81] ~ ~ ~ clear @a[score_rpsRps_min=1]},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=81,score_rpsItm=81] ~ ~ ~ scoreboard players reset @e[score_rpsRps_min=1] rpsRps},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:5,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=80,score_rpsItm=80] ~ ~ ~ execute @e[tag=P1,score_rpsRps_min=1,score_rpsRps=1] ~ ~ ~ summon item ~.7 ~1.2 ~-.2 {Tags:["RPSITM"],Item:{id:cobblestone,Count:1b},PickupDelay:32767}},Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:summon falling_block ~1 ~1 ~-2 {Block:chain_command_block,data:0,TileEntitydata:{Command:fill ~-2 ~7 ~3 ~1 ~7 ~-7 purpur_slab},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=119,score_rpsItm=119] ~1 ~ ~ kill @e[type=item,tag=RPSITM,r=3,c=2]},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=80,score_rpsItm=80] ~ ~ ~ execute @e[tag=P2,score_rpsRps_min=3,score_rpsRps=3] ~ ~ ~ summon item ~-.7 ~1.2 ~.2 {Tags:["RPSITM"],Item:{id:shears,Count:1b},PickupDelay:32767}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=80,score_rpsItm=80] ~ ~ ~ execute @e[tag=P2,score_rpsRps_min=2,score_rpsRps=2] ~ ~ ~ summon item ~-.7 ~1.2 ~.2 {Tags:["RPSITM"],Item:{id:paper,Count:1b},PickupDelay:32767}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=80,score_rpsItm=80] ~ ~ ~ execute @e[tag=P2,score_rpsRps_min=1,score_rpsRps=1] ~ ~ ~ summon item ~-.7 ~1.2 ~.2 {Tags:["RPSITM"],Item:{id:cobblestone,Count:1b},PickupDelay:32767}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=80,score_rpsItm=80] ~ ~ ~ execute @e[tag=P1,score_rpsRps_min=3,score_rpsRps=3] ~ ~ ~ summon item ~.7 ~1.2 ~-.2 {Tags:["RPSITM"],Item:{id:shears,Count:1b},PickupDelay:32767}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:execute @e[name=SEAT1,score_rpsItm_min=80,score_rpsItm=80] ~ ~ ~ execute @e[tag=P1,score_rpsRps_min=2,score_rpsRps=2] ~ ~ ~ summon item ~.7 ~1.2 ~-.2 {Tags:["RPSITM"],Item:{id:paper,Count:1b},PickupDelay:32767}},Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:tellraw @a ["",{"text":"\n\n\n'Rock Paper Scissors' in Minecraft [1.11.X] ","color":"gold","bold":true},{"text":"by ","color":"none","bold":false},{"text":"TheRedEngineer","color":"red","bold":true},{"text":"\n youtube.com/c/TheRedEng\n\n","color":"gold","clickEvent":{"action":"open_url","value":"https:www.youtube.com/c/TheRedEng"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"click to open link ⤴","color":"dark_blue"}]}},"bold":false},{"text":"Credit TheRedEngineer if you are using this creation\nDon't re-upload this command: provide my website link!!\n\n\n","color":"red"}]},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:setblock ~ ~-3 ~-8 minecraft:repeating_command_block 1 replace {auto:1b,powered:0b,TrackOutput:0}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:0,TileEntitydata:{Command:fill ~ ~2 ~ ~1 ~2 ~-1 end_bricks 0 replace redstone_block},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,data:0,TileEntitydata:{Command:fill ~1 ~1 ~ ~1 ~-5 ~ stained_hardened_clay 9},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:redstone_block,data:0,Time:1,DropItem:0}]}]}]}]}]}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:setblock ~ ~-3 ~2 minecraft:wall_sign 2 replace {Text1:"{\\\"text\\\":\\\"[Cmd1.11.X]\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~1 ~3 ~ ~-2 ~-5 ~18 air\\\"}}",Text2:"{\\\"text\\\":\\\"RockPaperScissors\\\",\\\"underlined\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/playsound entity.generic.explode hostile @a ~ ~ ~ 10 1\\\"}}",Text3:"{\\\"text\\\":\\\"by\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"say [TheRedEngineer] Thanks for playing with my command!\\\"}}",Text4:"{\\\"text\\\":\\\"TheRedEngineer\\\",\\\"color\\\":\\\"red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"particle hugeexplosion ~ ~ ~4 1 1 1 1 20 force\\\"}}"}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:setblock ~-1 ~-6 ~2 minecraft:wall_sign 2 replace {Text1:"{\\\"text\\\":\\\"[Deactivate]\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"playsound block.piston.extend block @a ~ ~ ~ 10 1\\\"}}",Text2:"{\\\"text\\\":\\\"Right-click\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~2 ~4 ~1 ~-1 ~-2 ~17 stained_glass 15 replace stained_glass\\\"}}",Text3:"{\\\"text\\\":\\\"this sign to\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"setblock ~ ~-2 ~2 minecraft:repeating_command_block 1 replace {auto:0b,TrackOutput:0}\\\"}}",Text4:"{\\\"text\\\":\\\"deactivate machine\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"say 'Rock Paper Scissors' machine deactivated!\\\"}}"}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:setblock ~ ~-7 ~2 minecraft:wall_sign 2 replace {Text1:"{\\\"text\\\":\\\"[Activate]\\\",\\\"color\\\":\\\"green\\\",\\\"bold\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"playsound block.piston.contract block @a ~ ~ ~ 10 1\\\"}}",Text2:"{\\\"text\\\":\\\"Right-click\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~1 ~4 ~1 ~-2 ~-2 ~17 stained_glass 10 replace stained_glass\\\"}}",Text3:"{\\\"text\\\":\\\"this sign to\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"setblock ~-1 ~-2 ~2 minecraft:repeating_command_block 1 replace {auto:1b,TrackOutput:0}\\\"}}",Text4:"{\\\"text\\\":\\\"activate machine\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"say 'Rock Paper Scissors' machine activated!\\\"}}"}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:setblock ~-1 ~-6 ~2 minecraft:wall_sign 2 replace {Text1:"{\\\"text\\\":\\\"[Item Recipes]\\\",\\\"color\\\":\\\"dark_green\\\",\\\"bold\\\":true}",Text2:"{\\\"text\\\":\\\"Right-click\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\" playsound entity.villager.yes neutral @a ~ ~ ~ 10 1\\\"}}",Text3:"{\\\"text\\\":\\\"this sign\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~1 ~1 ~1 ~ ~-3 ~1 stained_glass 9\\\"}}",Text4:"{\\\"text\\\":\\\"for info\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/say Drop on ground 1x Stone Block + 1x Paper + 1x Shears to craft the game!\\\"}}"}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,data:1,TileEntitydata:{Command:fill ~ ~3 ~ ~ ~-13 ~ air},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:stained_hardened_clay,data:9,Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:command_block,data:0,TileEntitydata:{Command:setblock ~ ~-14 ~ minecraft:repeating_command_block 1 replace {auto:1b,powered:0b,TrackOutput:0}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:redstone_block,data:0,Time:1,DropItem:0}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}