介绍
本 OOC 为原版游戏添加了一个新的生存要素“饮水值”,饮水值会显示在玩家的物品栏上方。
当玩家进行,跑、跳、攻击、游泳等动作的时候会加速消耗饮水值,保持静止不动可以降低消耗速度。
玩家通过吃苹果、使用水瓶可以恢复饮水值,当饮水值低于指定值时,玩家将会受到一系列负面效果。
当饮水值为 0 时,玩家将会扣血,并且会受到挖掘缓慢等效果,直到恢复饮水值。
版权声明
禁止对本 OOC 进行魔改和盗用,违者自负责任。
命令
OOC(1.12.2)
/summon falling_block ~ ~1.5 ~ {Time:1,Block:"minecraft:redstone_block",Motion:[0d,-1d,0d],Passengers:[{id:falling_block,Time:1,Block:"minecraft:activator_rail",Passengers:[{id:commandblock_minecart,Command:"blockdata ~ ~-2 ~ {auto:0b,Command:\"\"}"},{id:commandblock_minecart,Command:"/tellraw @a [{\"text\":\"---------------\",\"color\":\"red\"},{\"text\":\"\\n\\n 欢迎使用彩雾一键系统\\n\",\"color\":\"aqua\"},{\"text\":\" 饮水状态\\n\",\"color\":\"aqua\"},{\"text\":\" 作者:\",\"color\":\"light_purple\",\"bold\":\"true\"},{\"text\":\"Furrycalin\",\"color\":\"gold\"},{\"text\":\"\\n\\n---------------\",\"color\":\"red\"}]"},{id:commandblock_minecart,Command:"/scoreboard objectives add water dummy 饮水值"},{id:commandblock_minecart,Command:"/scoreboard objectives add p stat.sprintOneCm 跑步"},{id:commandblock_minecart,Command:"/scoreboard objectives add s stat.mobKills 杀怪"},{id:commandblock_minecart,Command:"/scoreboard objectives add y stat.swimOneCm 游泳"},{id:commandblock_minecart,Command:"/scoreboard objectives add t stat.jump 跳跃"},{id:commandblock_minecart,Command:"/scoreboard players set @a water 20"},{id:commandblock_minecart,Command:"/scoreboard objectives add time dummy 计算"},{id:commandblock_minecart,Command:"/scoreboard players set @a time 500"},{id:commandblock_minecart,Command:"/scoreboard objectives add jk dummy 饮水状态"},{id:commandblock_minecart,Command:"/scoreboard objectives add sw deathCount 死亡"},{id:commandblock_minecart,Command:"/scoreboard objectives add xg dummy 渴了"},{id:commandblock_minecart,Command:"/scoreboard objectives add sp stat.useItem.minecraft.apple 食用苹果"},{id:commandblock_minecart,Command:"/scoreboard objectives add yn stat.useItem.minecraft.milk_bucket 饮奶"},{id:commandblock_minecart,Command:"/scoreboard objectives add ys stat.useItem.minecraft.potion 饮水"},{id:commandblock_minecart,Command:"setblock ~ 0 ~ repeating_command_block 5 replace {Command:\"/title @a[m=!1] actionbar [{\\\"text\\\":\\\"饮水值 \\\",\\\"color\\\":\\\"aqua\\\",\\\"bold\\\":\\\"true\\\"},{\\\"score\\\":{\\\"name\\\":\\\"*\\\",\\\"objective\\\":\\\"water\\\"},\\\"color\\\":\\\"aqua\\\"}]\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~1 0 ~ repeating_command_block 5 replace {Command:\"/execute @a[score_water=0,score_water_min=0,score_sw_min=1] ~ ~ ~ /tellraw @a [{\\\"selector\\\":\\\"@s\\\"},{\\\"text\\\":\\\"渴死了\\\",\\\"color\\\":\\\"white\\\"}]\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 0 ~ chain_command_block 5 replace {Command:\"/scoreboard players set @a[score_sw_min=1] time 500\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 0 ~ chain_command_block 5 replace {Command:\"/scoreboard players set @a[score_sw_min=1] jk 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~4 0 ~ chain_command_block 5 replace {Command:\"/scoreboard players set @a[score_sw_min=1] xg 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~5 0 ~ chain_command_block 5 replace {Command:\"/scoreboard players set @a[score_sw_min=1] water 20\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~6 0 ~ chain_command_block 5 replace {Command:\"/scoreboard players set @a[score_sw_min=1] sw 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~7 0 ~ repeating_command_block 5 replace {Command:\"/scoreboard players remove @a[score_water_min=1,score_time=1] water 1\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~8 0 ~ chain_command_block 13 replace {Command:\"/scoreboard players set @a[score_time=1] time 500\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~9 0 ~ repeating_command_block 5 replace {Command:\"/scoreboard players remove @a[score_water_min=1,score_time_min=1] time 1\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~10 0 ~ repeating_command_block 5 replace {Command:\"/scoreboard players remove @a[score_jk_min=1] jk 1\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~11 0 ~ repeating_command_block 5 replace {Command:\"/scoreboard players remove @a[score_p_min=1] time 1\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~12 0 ~ chain_command_block 13 replace {Command:\"/scoreboard players set @a[score_p_min=1] p 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~13 0 ~ repeating_command_block 5 replace {Command:\"/scoreboard players remove @a[score_s_min=1] time 3\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~14 0 ~ chain_command_block 13 replace {Command:\"/scoreboard players set @a[score_s_min=1] s 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~15 0 ~ repeating_command_block 5 replace {Command:\"/scoreboard players remove @a[score_y_min=1] time 2\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~16 0 ~ chain_command_block 13 replace {Command:\"/scoreboard players set @a[score_y_min=1] y 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~17 0 ~ repeating_command_block 5 replace {Command:\"/scoreboard players remove @a[score_t_min=1] time 5\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~18 0 ~ chain_command_block 13 replace {Command:\"/scoreboard players set @a[score_t_min=1] t 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~19 0 ~ repeating_command_block 5 replace {Command:\"/scoreboard players add @a[score_ys_min=1,score_water=18] water 2\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~20 0 ~ chain_command_block 13 replace {Command:\"/scoreboard players set @a[score_ys_min=1] ys 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~21 0 ~ repeating_command_block 5 replace {Command:\"/scoreboard players add @a[score_yn_min=1,score_water=15] water 5\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~22 0 ~ chain_command_block 13 replace {Command:\"/scoreboard players set @a[score_yn_min=1] yn 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~23 0 ~ repeating_command_block 5 replace {Command:\"/scoreboard players add @a[score_sp_min=1,score_water=19] water 1\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~24 0 ~ chain_command_block 13 replace {Command:\"/scoreboard players set @a[score_sp_min=1] sp 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~25 0 ~ repeating_command_block 5 replace {Command:\"/execute @a ~ ~ ~ detect ~ ~1 ~ water 0 scoreboard players set @s jk 200\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~26 0 ~ chain_command_block 13 replace {Command:\"/execute @a ~ ~ ~ detect ~ ~1 ~ water 0 title @s title [{\\\"text\\\":\\\"您受到了饮水状态!\\\",\\\"color\\\":\\\"red\\\"}]\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~27 0 ~ chain_command_block 13 replace {Command:\"/execute @a ~ ~ ~ detect ~ ~1 ~ water 0 title @s subtitle [{\\\"text\\\":\\\"饮水值正在快速下降!请迅速离开水中!\\\",\\\"color\\\":\\\"red\\\"}]\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~28 0 ~ chain_command_block 13 replace {Command:\"/execute @a ~ ~ ~ detect ~ ~1 ~ water 0 scoreboard players remove @s time 5\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~29 0 ~ repeating_command_block 5 replace {Command:\"/scoreboard players set @a[score_water_min=0,score_water=0] xg 1\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~30 0 ~ repeating_command_block 5 replace {Command:\"/effect @a[score_xg_min=1] 2 2 1 true\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~31 0 ~ chain_command_block 5 replace {Command:\"/effect @a[score_xg_min=1] 4 2 0 true\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~32 0 ~ chain_command_block 5 replace {Command:\"/effect @a[score_xg_min=1] 8 2 200 true\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~33 0 ~ chain_command_block 5 replace {Command:\"/effect @a[score_xg_min=1] 9 2 0 true\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~34 0 ~ chain_command_block 5 replace {Command:\"/effect @a[score_xg_min=1] 17 2 1 true\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~35 0 ~ chain_command_block 5 replace {Command:\"/effect @a[score_xg_min=1] 18 2 0 true\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~36 0 ~ chain_command_block 5 replace {Command:\"/effect @a[score_xg_min=1] 20 2 0 true\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~37 0 ~ chain_command_block 5 replace {Command:\"/scoreboard players set @a[score_xg_min=1] xg 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~ ~1 ~ command_block 0 replace {auto:1b,Command:\"fill ~ ~ ~ ~ ~-3 ~ air\"}"},{id:commandblock_minecart,Command:"kill @e[type=commandblock_minecart,r=1]"}]}]}
注意,此版本饮水值作者在制作时出现了一个 BUG,请启用以下 OOC 来修复:
OOC 补丁(1.12.2)
/summon falling_block ~ ~1.5 ~ {Time:1,Block:"minecraft:redstone_block",Motion:[0d,-1d,0d],Passengers:[{id:falling_block,Time:1,Block:"minecraft:activator_rail",Passengers:[{id:commandblock_minecart,Command:"blockdata ~ ~-2 ~ {auto:0b,Command:\"\"}"},{id:commandblock_minecart,Command:"/tellraw @a [{\"text\":\"---------------\",\"color\":\"red\"},{\"text\":\"\\n\\n 欢迎使用彩雾一键系统\\n\",\"color\":\"aqua\"},{\"text\":\" 饮水状态(补丁)\\n\",\"color\":\"aqua\"},{\"text\":\" 作者:\",\"color\":\"light_purple\",\"bold\":\"true\"},{\"text\":\"Furrycalin\",\"color\":\"gold\"},{\"text\":\"\\n\\n---------------\",\"color\":\"red\"}]"},{id:commandblock_minecart,Command:"/tellraw @a [{\"text\":\"警告: 本插件只是个补丁,没有主体无法运行!\",\"color\":\"red\"}]"},{id:commandblock_minecart,Command:"setblock ~ 0 ~ repeating_command_block 5 replace {Command:\"/scoreboard players set @a[m=1] time 500\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~ ~1 ~ command_block 0 replace {auto:1b,Command:\"fill ~ ~ ~ ~ ~-2 ~ air\"}"},{id:commandblock_minecart,Command:"kill @e[type=commandblock_minecart,r=1]"}]}]}
OOC(1.14-1.18+ 适用于单人游戏)
/summon falling_block ~ ~1.5 ~ {Time:1,BlockState:{Name:"minecraft:redstone_block"},Motion:[0d,-1d,0d],Passengers:[{id:falling_block,Time:1,BlockState:{Name:"minecraft:activator_rail"},Passengers:[{id:command_block_minecart,Command:"/data merge block ~ ~-2 ~ {auto:0b,Command:\"\"}"},{id:command_block_minecart,Command:"/gamerule commandBlockOutput false"},{id:command_block_minecart,Command:"/tellraw @a \"------------------------------\\n\\u00a7b饮水值OOC [1.14-1.18+]\\n\\u00a76作者:\\u00a7d\\u00a7nFurrycalin\\n\\u00a79介绍:\\n①:本OOC添加了饮水值系统\\n②:你需要喝水or药水or吃苹果来补充水分\\n③:当饮水值为6时你会感到不适\\n④:为0时你会开始扣血直到死亡\\n⑤:感谢使用!\\n\\u00a7f------------------------------\""},{id:command_block_minecart,Command:"/fill ~1 ~-3 ~-1 ~3 ~26 ~1 minecraft:light_blue_terracotta"},{id:command_block_minecart,Command:"/fill ~1 ~-2 ~-1 ~3 ~25 ~1 minecraft:light_blue_stained_glass"},{id:command_block_minecart,Command:"/scoreboard objectives add water dummy \"饮水值\""},{id:command_block_minecart,Command:"/scoreboard objectives add p minecraft.custom:minecraft.sprint_one_cm \"跑步\""},{id:command_block_minecart,Command:"/scoreboard objectives add s minecraft.custom:minecraft.mob_kills \"杀怪\""},{id:command_block_minecart,Command:"/scoreboard objectives add y minecraft.custom:minecraft.swim_one_cm \"游泳\""},{id:command_block_minecart,Command:"/scoreboard objectives add t minecraft.custom:minecraft.jump \"跳跃\""},{id:command_block_minecart,Command:"/scoreboard objectives add time dummy \"计算\""},{id:command_block_minecart,Command:"/scoreboard players set @a time 500"},{id:command_block_minecart,Command:"/scoreboard players set @a water 20"},{id:command_block_minecart,Command:"/scoreboard objectives add sw deathCount \"死亡\""},{id:command_block_minecart,Command:"/scoreboard objectives add sp minecraft.used:minecraft.apple \"食用苹果\""},{id:command_block_minecart,Command:"/scoreboard objectives add ys minecraft.used:minecraft.potion \"饮水\""},{id:command_block_minecart,Command:"/bossbar add water \"预备\""},{id:command_block_minecart,Command:"/bossbar set minecraft:water color blue"},{id:command_block_minecart,Command:"/bossbar set minecraft:water value 100"},{id:command_block_minecart,Command:"setblock ~2 ~-2 ~ repeating_command_block[facing=up]{Command:\"/execute as @a run bossbar set minecraft:water name [{\\\"selector\\\":\\\"@s\\\"},{\\\"text\\\":\\\"的饮水值为: \\\"},{\\\"score\\\":{\\\"name\\\":\\\"@s\\\",\\\"objective\\\":\\\"water\\\"}}]\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~-1 ~ chain_command_block[facing=up]{Command:\"/execute as @a run bossbar set minecraft:water players @s\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~0 ~ chain_command_block[facing=up]{Command:\"/scoreboard players remove @a[scores={time=0..}] time 1\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~1 ~ chain_command_block[facing=up]{Command:\"/scoreboard players remove @a[scores={time=..0,water=0..}] water 1\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~2 ~ chain_command_block[facing=up,conditional=true]{Command:\"/scoreboard players set @a[scores={time=..0,water=0..}] time 500\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~3 ~ chain_command_block[facing=up]{Command:\"/scoreboard players remove @a[scores={p=1..}] time 3\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~4 ~ chain_command_block[facing=up,conditional=true]{Command:\"/scoreboard players set @a[scores={p=1..}] p 0\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~5 ~ chain_command_block[facing=up]{Command:\"/scoreboard players remove @a[scores={s=1..}] time 10\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~6 ~ chain_command_block[facing=up,conditional=true]{Command:\"/scoreboard players set @a[scores={s=1..}] s 0\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~7 ~ chain_command_block[facing=up]{Command:\"/scoreboard players remove @a[scores={t=1..}] time 5\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~8 ~ chain_command_block[facing=up,conditional=true]{Command:\"/scoreboard players set @a[scores={t=1..}] t 0\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~9 ~ chain_command_block[facing=up]{Command:\"/scoreboard players add @a[scores={sp=1}] water 2\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~10 ~ chain_command_block[facing=up,conditional=true]{Command:\"/scoreboard players set @a[scores={sp=1}] sp 0\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~11 ~ chain_command_block[facing=up]{Command:\"/scoreboard players add @a[scores={ys=1}] water 5\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~12 ~ chain_command_block[facing=up,conditional=true]{Command:\"/scoreboard players set @a[scores={ys=1}] ys 0\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~13 ~ chain_command_block[facing=up]{Command:\"/scoreboard players set @a[scores={sw=1..}] time 500\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~14 ~ chain_command_block[facing=up]{Command:\"/execute as @a[scores={water=..0,sw=1..}] run gamerule showDeathMessages false\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~15 ~ chain_command_block[facing=up]{Command:\"/execute as @a[scores={water=..0,sw=1..}] run tellraw @a [{\\\"selector\\\":\\\"@s\\\"},{\\\"text\\\":\\\"渴死了!\\\"}]\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~16 ~ chain_command_block[facing=up]{Command:\"/execute as @a[scores={water=..0,sw=1..}] run gamerule showDeathMessages true\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~17 ~ chain_command_block[facing=up]{Command:\"/scoreboard players set @a[scores={sw=1..}] water 20\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~18 ~ chain_command_block[facing=up,conditional=true]{Command:\"/scoreboard players set @a[scores={sw=1..}] sw 0\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~19 ~ chain_command_block[facing=up]{Command:\"/scoreboard players set @a[gamemode=creative] time 500\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~20 ~ chain_command_block[facing=up]{Command:\"/effect give @a[scores={water=..6}] minecraft:mining_fatigue 10 1 true\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~21 ~ chain_command_block[facing=up]{Command:\"/effect give @a[scores={water=..6}] minecraft:nausea 5 0 true\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~22 ~ chain_command_block[facing=up]{Command:\"/effect give @a[scores={water=..6}] minecraft:slowness 2 1 true\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~23 ~ chain_command_block[facing=up]{Command:\"/effect give @a[scores={water=..6}] minecraft:weakness 2 0 true\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~24 ~ chain_command_block[facing=up]{Command:\"/effect give @a[scores={water=..0}] minecraft:wither 2 0 true\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~25 ~ chain_command_block[facing=up]{Command:\"/scoreboard players set @a[scores={water=21..}] water 20\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~ ~1 ~ command_block{auto:1b,Command:\"fill ~ ~ ~ ~ ~-2 ~ air\"} replace"},{id:command_block_minecart,Command:"kill @e[type=command_block_minecart,distance=..1]"}]}]}
OOC(1.14-1.18+ 适用于多人游戏)
/summon falling_block ~ ~1.5 ~ {Time:1,BlockState:{Name:"minecraft:redstone_block"},Motion:[0d,-1d,0d],Passengers:[{id:falling_block,Time:1,BlockState:{Name:"minecraft:activator_rail"},Passengers:[{id:command_block_minecart,Command:"/data merge block ~ ~-2 ~ {auto:0b,Command:\"\"}"},{id:command_block_minecart,Command:"/gamerule commandBlockOutput false"},{id:command_block_minecart,Command:"/tellraw @a \"------------------------------\\n\\u00a7b饮水值OOC [1.14-1.18+]\\n\\u00a76作者:\\u00a7d\\u00a7nFurrycalin\\n\\u00a79介绍:\\n①:本OOC添加了饮水值系统\\n②:你需要喝水or药水or吃苹果来补充水分\\n③:当饮水值为6时你会感到不适\\n④:为0时你会开始扣血直到死亡\\n⑤:感谢使用!\\n\\u00a7f------------------------------\""},{id:command_block_minecart,Command:"/fill ~1 ~-3 ~-1 ~3 ~35 ~1 minecraft:light_blue_terracotta"},{id:command_block_minecart,Command:"/fill ~1 ~-2 ~-1 ~3 ~34 ~1 minecraft:light_blue_stained_glass"},{id:command_block_minecart,Command:"/scoreboard objectives add water dummy \"饮水值\""},{id:command_block_minecart,Command:"/scoreboard objectives add p minecraft.custom:minecraft.sprint_one_cm \"跑步\""},{id:command_block_minecart,Command:"/scoreboard objectives add s minecraft.custom:minecraft.mob_kills \"杀怪\""},{id:command_block_minecart,Command:"/scoreboard objectives add y minecraft.custom:minecraft.swim_one_cm \"游泳\""},{id:command_block_minecart,Command:"/scoreboard objectives add t minecraft.custom:minecraft.jump \"跳跃\""},{id:command_block_minecart,Command:"/scoreboard objectives add time dummy \"计算\""},{id:command_block_minecart,Command:"/scoreboard players set @a time 500"},{id:command_block_minecart,Command:"/scoreboard players set @a water 20"},{id:command_block_minecart,Command:"/scoreboard objectives add sw deathCount \"死亡\""},{id:command_block_minecart,Command:"/scoreboard objectives add sp minecraft.used:minecraft.apple \"食用苹果\""},{id:command_block_minecart,Command:"/scoreboard objectives add ys minecraft.used:minecraft.potion \"饮水\""},{id:command_block_minecart,Command:"setblock ~2 ~-2 ~ repeating_command_block[facing=up]{Command:\"/title @a[scores={water=18..}] actionbar [{\\\"text\\\":\\\"饮水值: \\\"},{\\\"text\\\":\\\"\\\\u00a7b■ ■ ■ ■ ■ ■ ■ ■ ■ ■\\\"}]\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~-1 ~ chain_command_block[facing=up]{Command:\"/title @a[scores={water=16..,water=..18}] actionbar [{\\\"text\\\":\\\"饮水值: \\\"},{\\\"text\\\":\\\"\\\\u00a7b■ ■ ■ ■ ■ ■ ■ ■ ■ □\\\"}]\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~0 ~ chain_command_block[facing=up]{Command:\"/title @a[scores={water=14..,water=..16}] actionbar [{\\\"text\\\":\\\"饮水值: \\\"},{\\\"text\\\":\\\"\\\\u00a7b■ ■ ■ ■ ■ ■ ■ ■ □ □\\\"}]\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~1 ~ chain_command_block[facing=up]{Command:\"/title @a[scores={water=12..,water=..14}] actionbar [{\\\"text\\\":\\\"饮水值: \\\"},{\\\"text\\\":\\\"\\\\u00a7b■ ■ ■ ■ ■ ■ ■ □ □ □\\\"}]\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~2 ~ chain_command_block[facing=up]{Command:\"/title @a[scores={water=10..,water=..12}] actionbar [{\\\"text\\\":\\\"饮水值: \\\"},{\\\"text\\\":\\\"\\\\u00a7b■ ■ ■ ■ ■ ■ □ □ □ □\\\"}]\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~3 ~ chain_command_block[facing=up]{Command:\"/title @a[scores={water=8..,water=..10}] actionbar [{\\\"text\\\":\\\"饮水值: \\\"},{\\\"text\\\":\\\"\\\\u00a7b■ ■ ■ ■ ■ □ □ □ □ □\\\"}]\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~4 ~ chain_command_block[facing=up]{Command:\"/title @a[scores={water=6..,water=..8}] actionbar [{\\\"text\\\":\\\"饮水值: \\\"},{\\\"text\\\":\\\"\\\\u00a7b■ ■ ■ ■ □ □ □ □ □ □\\\"}]\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~5 ~ chain_command_block[facing=up]{Command:\"/title @a[scores={water=4..,water=..6}] actionbar [{\\\"text\\\":\\\"饮水值: \\\"},{\\\"text\\\":\\\"\\\\u00a7b■ ■ ■ □ □ □ □ □ □ □\\\"}]\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~6 ~ chain_command_block[facing=up]{Command:\"/title @a[scores={water=2..,water=..4}] actionbar [{\\\"text\\\":\\\"饮水值: \\\"},{\\\"text\\\":\\\"\\\\u00a7b■ ■ □ □ □ □ □ □ □ □\\\"}]\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~7 ~ chain_command_block[facing=up]{Command:\"/title @a[scores={water=0..,water=..2}] actionbar [{\\\"text\\\":\\\"饮水值: \\\"},{\\\"text\\\":\\\"\\\\u00a7b■ □ □ □ □ □ □ □ □ □\\\"}]\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~8 ~ chain_command_block[facing=up]{Command:\"/title @a[scores={water=0}] actionbar [{\\\"text\\\":\\\"饮水值: \\\"},{\\\"text\\\":\\\"\\\\u00a7b□ □ □ □ □ □ □ □ □ □\\\"}]\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~9 ~ chain_command_block[facing=up]{Command:\"/scoreboard players remove @a[scores={time=0..}] time 1\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~10 ~ chain_command_block[facing=up]{Command:\"/scoreboard players remove @a[scores={time=..0,water=0..}] water 1\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~11 ~ chain_command_block[facing=up,conditional=true]{Command:\"/scoreboard players set @a[scores={time=..0,water=0..}] time 500\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~12 ~ chain_command_block[facing=up]{Command:\"/scoreboard players remove @a[scores={p=1..}] time 3\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~13 ~ chain_command_block[facing=up,conditional=true]{Command:\"/scoreboard players set @a[scores={p=1..}] p 0\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~14 ~ chain_command_block[facing=up]{Command:\"/scoreboard players remove @a[scores={s=1..}] time 10\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~15 ~ chain_command_block[facing=up,conditional=true]{Command:\"/scoreboard players set @a[scores={s=1..}] s 0\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~16 ~ chain_command_block[facing=up]{Command:\"/scoreboard players remove @a[scores={t=1..}] time 5\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~17 ~ chain_command_block[facing=up,conditional=true]{Command:\"/scoreboard players set @a[scores={t=1..}] t 0\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~18 ~ chain_command_block[facing=up]{Command:\"/scoreboard players add @a[scores={sp=1}] water 2\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~19 ~ chain_command_block[facing=up,conditional=true]{Command:\"/scoreboard players set @a[scores={sp=1}] sp 0\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~20 ~ chain_command_block[facing=up]{Command:\"/scoreboard players add @a[scores={ys=1}] water 5\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~21 ~ chain_command_block[facing=up,conditional=true]{Command:\"/scoreboard players set @a[scores={ys=1}] ys 0\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~22 ~ chain_command_block[facing=up]{Command:\"/scoreboard players set @a[scores={sw=1..}] time 500\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~23 ~ chain_command_block[facing=up]{Command:\"/execute as @a[scores={water=..0,sw=1..}] run gamerule showDeathMessages false\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~24 ~ chain_command_block[facing=up]{Command:\"/execute as @a[scores={water=..0,sw=1..}] run tellraw @a [{\\\"selector\\\":\\\"@s\\\"},{\\\"text\\\":\\\"渴死了!\\\"}]\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~25 ~ chain_command_block[facing=up]{Command:\"/execute as @a[scores={water=..0,sw=1..}] run gamerule showDeathMessages true\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~26 ~ chain_command_block[facing=up]{Command:\"/scoreboard players set @a[scores={sw=1..}] water 20\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~27 ~ chain_command_block[facing=up,conditional=true]{Command:\"/scoreboard players set @a[scores={sw=1..}] sw 0\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~28 ~ chain_command_block[facing=up]{Command:\"/scoreboard players set @a[gamemode=creative] time 500\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~29 ~ chain_command_block[facing=up]{Command:\"/effect give @a[scores={water=..6}] minecraft:mining_fatigue 10 1 true\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~30 ~ chain_command_block[facing=up]{Command:\"/effect give @a[scores={water=..6}] minecraft:nausea 5 0 true\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~31 ~ chain_command_block[facing=up]{Command:\"/effect give @a[scores={water=..6}] minecraft:slowness 2 1 true\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~32 ~ chain_command_block[facing=up]{Command:\"/effect give @a[scores={water=..6}] minecraft:weakness 2 0 true\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~33 ~ chain_command_block[facing=up]{Command:\"/effect give @a[scores={water=..0}] minecraft:wither 2 0 true\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~2 ~34 ~ chain_command_block[facing=up]{Command:\"/scoreboard players set @a[scores={water=21..}] water 20\",auto:1b} replace"},{id:command_block_minecart,Command:"setblock ~ ~1 ~ command_block{auto:1b,Command:\"fill ~ ~ ~ ~ ~-2 ~ air\"} replace"},{id:command_block_minecart,Command:"kill @e[type=command_block_minecart,distance=..1]"}]}]}