這是第2個OOC
指令版本:1.16.5~1.18.2
執(zhí)行效果:沒有什么效果
使用方法:8個金塊和一個蘋果丟在地上即可
指令如下:
/summon falling_block ~ ~1.5 ~ {Motion:[0.0d,0.0d,0.0d],Time:1,BlockState:{Name:redstone_block},Passengers:[ {id:armor_stand,Health:0,Passengers:[ {id:falling_block,Time:1,BlockState:{Name:activator_rail},Passengers:[ {id:command_block_minecart,Command:'gamerule commandBlockOutput false'}, {id:command_block_minecart,Command:'data merge block ~ ~-2 ~ {auto:0}'}, {id:command_block_minecart,Command:'scoreboard objectives add items dummy'},{id:"command_block_minecart",Command:"/tellraw @a [{\"text\":\"Throw it on the ground\",\"color\":\"blue\",\"bold\":true},{\"text\":\" 8×Block of Gold\",\"color\":\"gold\",\"bold\":true},{\"text\":\" and\",\"color\":\"blue\",\"bold\":true},{\"text\":\" 1×apple\",\"color\":\"red\",\"bold\":true},{\"text\":\" Can be synthesized\",\"color\":\"blue\",\"bold\":true}]"},{id:"command_block_minecart",Command:"/setblock ~ ~5 ~ minecraft:repeating_command_block[conditional=false,facing=up]{auto:1b,powered:0b,Command:\"/execute as @e[nbt={Item:{id:\\\"minecraft:gold_block\\\",Count:8b}}] at @s run scoreboard players set @s items 8\"}"},{id:"command_block_minecart",Command:"/setblock ~ ~6 ~ minecraft:chain_command_block[conditional=true,facing=up]{auto:1b,powered:0b,Command:\"/execute as @e[nbt={Item:{id:\\\"minecraft:apple\\\",Count:1b}}] at @s run scoreboard players set @s items 1\"}"},{id:"command_block_minecart",Command:"/setblock ~ ~7 ~ minecraft:chain_command_block[conditional=true,facing=up]{auto:1b,powered:0b,Command:\"/execute as @e[scores={items=8}] at @e[scores={items=1}] run summon minecraft:item ~ ~ ~ {Item:{id:\\\"enchanted_golden_apple\\\",Count:1b}}\"}"},{id:"command_block_minecart",Command:"/setblock ~ ~8 ~ minecraft:chain_command_block[conditional=false,facing=up]{auto:1b,powered:0b,Command:\"/execute as @e[scores={items=8}] at @e[scores={items=1}] run particle minecraft:dragon_breath ~ ~ ~ 0.3 0.3 0.3 0 10 force @a\"}"},{id:"command_block_minecart",Command:"/setblock ~ ~9 ~ minecraft:chain_command_block[conditional=false,facing=up]{auto:1b,powered:0b,Command:\"/execute as @e[scores={items=8}] as @e[scores={items=1}] at @s run playsound entity.player.levelup player @a ~ ~ ~\"}"},{id:"command_block_minecart",Command:"/setblock ~ ~10 ~ minecraft:chain_command_block[conditional=true,facing=up]{auto:1b,powered:0b,Command:\"/kill @e[scores={items=8}]\"}"},{id:"command_block_minecart",Command:"/setblock ~ ~11 ~ minecraft:chain_command_block[conditional=true,facing=up]{auto:1b,powered:0b,Command:\"/kill @e[scores={items=1}]\"}"},{id:"command_block_minecart",Command:"/setblock ~ ~12 ~ minecraft:chain_command_block[conditional=true,facing=up]{auto:1b,powered:0b,Command:\"/scoreboard players reset @e[scores={items=8}] items\"}"},{id:"command_block_minecart",Command:"/setblock ~ ~11 ~ minecraft:chain_command_block[conditional=true,facing=up]{auto:1b,powered:0b,Command:\"/scoreboard players reset @e[scores={items=1}] items\"}"}, {id:command_block_minecart,Command:'setblock ~ ~1 ~ command_block{auto:1,Command:"fill ~ ~ ~ ~ ~-3 ~ air"}'}, {id:command_block_minecart,Command:'kill @e[type=command_block_minecart,distance=..1]'}]}]}]}
序列號:1100 0101 1001 1010
命令方塊:1個