又是一個一鍵命令(OOC)
依舊是一件命令方塊,基于上一個一鍵命令的原理,在經(jīng)過我更新而做的全新的一個OOC,這次會比上一次更長,功能也會更多。
指令版本:2.0正式版
適用版本:1.16.5~1.18.2? ? ??是否原創(chuàng):是
以下是指令部分:
/summon falling_block ~ ~1 ~ {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:'tellraw @a [{"text":"Throw on the ground ","color":"blue","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"10×Diamond ","color":"aqua","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":" and ","color":"blue","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"5×Emerald ","color":"green","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"can be synthesized.","color":"green","bold":true}]'},{id:command_block_minecart,Command:'scoreboard objectives add item dummy'},{id:command_block_minecart,Command:'tellraw @a [{"text":"Please put","color":"blue","bold":true},{"text":"20×Emerald","color":"green","bold":true},{"text":"1×Diamond_sword","color":"aqua","bold":true},{"text":"Just throw it on the ground.","color":"yellow","bold":true}]'},{id:"command_block_minecart",Command:"/setblock ~1 ~ ~3 minecraft:repeating_command_block[conditional=false,facing=up]{auto:1b,powered:0b,Command:\"/execute as @e[nbt={Item:{id:\\\"minecraft:diamond\\\",Count:10b}},type=item] at @s run scoreboard players set @s item 10\"}"},{id:"command_block_minecart",Command:"/setblock ~1 ~1 ~3 minecraft:chain_command_block[conditional=true,facing=up]{auto:1b,powered:0b,Command:\"/execute as @e[type=item,nbt={Item:{id:\\\"minecraft:emerald\\\",Count:5b}}] at @s run scoreboard players set @s item 5\"}"},{id:"command_block_minecart",Command:"/setblock ~1 ~2 ~3 minecraft:chain_command_block[conditional=true,facing=up]{auto:1b,powered:0b,Command:\"/execute as @e[scores={item=10}] as @e[scores={item=5}] at @s run summon minecraft:item ~ ~ ~ {Item:{id:\\\"minecraft:villager_spawn_egg\\\",Count:1b,tag:{display:{Name:'{\\\"text\\\":\\\"TestVillager\\\"}'},Lore:['{\\\"text\\\":\\\"Ordinary\\\"}']},Enchantments:[{}]}}\"}"},{id:"command_block_minecart",Command:"/setblock ~1 ~3 ~3 minecraft:chain_command_block[conditional=false,facing=up]{auto:1b,powered:0b,Command:\"/execute as @e[scores={item=10}] as @e[scores={item=5}] at @s run playsound entity.player.levelup player @a ~ ~ ~\"}"},{id:"command_block_minecart",Command:"/setblock ~1 ~4 ~3 minecraft:chain_command_block[conditional=false,facing=up]{auto:1b,powered:0b,Command:\"/execute as @e[scores={item=10}] as @e[scores={item=5}] at @s run particle dust 1 0.2 0.2 1 ^ ^ ^-0.75 0.3 0.3 0.3 0 10 force @a\"}"},{id:"command_block_minecart",Command:"/setblock ~1 ~5 ~3 minecraft:chain_command_block[conditional=true,facing=up]{auto:1b,powered:0b,Command:\"/kill @e[scores={item=10}]\"}"},{id:"command_block_minecart",Command:"/setblock ~1 ~6 ~3 minecraft:chain_command_block[conditional=true,facing=up]{auto:1b,powered:0b,Command:\"/kill @e[scores={item=5}]\"}"},{id:"command_block_minecart",Command:"/setblock ~1 ~7 ~3 minecraft:chain_command_block[conditional=false,facing=up]{auto:1b,powered:0b,Command:\"/scoreboard players reset @e[scores={item=5}] item\"}"},{id:"command_block_minecart",Command:"/setblock ~1 ~8 ~3 minecraft:chain_command_block[conditional=false,facing=up]{auto:1b,powered:0b,Command:\"/scoreboard players reset @e[scores={item=10}] item\"}"},{id:"command_block_minecart",Command:"/setblock ~1 ~9 ~3 minecraft:chain_command_block[conditional=false,facing=up]{auto:1b,powered:0b,Command:\"/execute as @e[type=villager,limit=1,name=TestVillager] at @s run give @p minecraft:trident{display:{Name:'[{\\\"text\\\":\\\"海神三叉戟\\\",\\\"color\\\":\\\"aqua\\\",\\\"bold\\\":true,\\\"italic\\\":false}]',Lore:['{\\\"text\\\":\\\"[武器屬性]\\\",\\\"color\\\":\\\"white\\\",\\\"bold\\\":true,\\\"italic\\\":false}','[{\\\"text\\\":\\\"*攻擊傷害:\\\",\\\"color\\\":\\\"white\\\",\\\"bold\\\":true,\\\"italic\\\":false},{\\\"text\\\":\\\"100.0\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":true,\\\"italic\\\":false}]','[{\\\"text\\\":\\\"*攻擊速度:\\\",\\\"color\\\":\\\"white\\\",\\\"bold\\\":true,\\\"italic\\\":false},{\\\"text\\\":\\\"10.0\\\",\\\"color\\\":\\\"green\\\",\\\"bold\\\":true,\\\"italic\\\":false}]','[{\\\"text\\\":\\\"*血量加成:\\\",\\\"color\\\":\\\"white\\\",\\\"bold\\\":true,\\\"italic\\\":false},{\\\"text\\\":\\\"40.0\\\",\\\"color\\\":\\\"blue\\\",\\\"bold\\\":true,\\\"italic\\\":false}]','[{\\\"text\\\":\\\"*武器品質(zhì):\\\",\\\"color\\\":\\\"white\\\",\\\"bold\\\":true,\\\"italic\\\":false},{\\\"text\\\":\\\"傳奇\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true,\\\"italic\\\":false}]']},HideFlags:63,Unbreakable:1b,bolt:1,Enchantments:[{id:\\\"loyalty\\\",lvl:3}],AttributeModifiers:[{Amount:100,AttributeName:\\\"generic.attack_damage\\\",Name:\\\"generic.attack_damage\\\",Operation:0,UUID:[I;1,2,3,4]},{Amount:10,AttributeName:\\\"generic.attack_speed\\\",Name:\\\"generic.attack_speed\\\",Operation:0,UUID:[I;5,6,7,8]},{Amount:40,AttributeName:\\\"generic.max_health\\\",Name:\\\"generic.max_health\\\",Operation:0,UUID:[I;9,10,11,12]}]}\"}"},{id:"command_block_minecart",Command:"/setblock ~1 ~10 ~3 minecraft:chain_command_block[conditional=false,facing=up]{auto:1b,powered:0b,Command:\"/execute as @a[nbt={SelectedItem:{tag:{bolt:1}}},distance=..30] at @e[type=!player,type=!lightning_bolt,type=!arrow] at @s run summon minecraft:lightning_bolt ~ ~ ~\"}"},{id:"command_block_minecart",Command:"/setblock ~1 ~11 ~3 minecraft:chain_command_block[conditional=false,facing=up]{auto:1b,powered:0b,Command:\"/execute as @e[type=villager,name=TestVillager,limit=1] at @s run fill ~1 ~1 ~1 ~-1 ~-1 ~-1 minecraft:tnt\"}"},{id:"command_block_minecart",Command:"/setblock ~1 ~12 ~3 minecraft:chain_command_block[conditional=true,facing=north]{auto:1b,powered:0b,Command:\"/execute as @e[type=villager,name=TestVillager,limit=1] at @s run summon minecraft:tnt ~ ~5 ~ {Fuse:30}\"}"},{id:"command_block_minecart",Command:"/setblock ~1 ~13 ~3 minecraft:chain_command_block[conditional=false,facing=up]{auto:1b,powered:0b,Command:\"/execute as @e[type=villager,name=TestVillager,limit=1] at @s run kill @s\"}"},{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]'}]}]}]}
指令版本:2.0正式版
命令方塊:1個
游戲版本:1.16.5~1.18.2
序列數(shù)號:155-4776-32-1441-144