循环性命令方块(保持开启)指令:scoreboard players tag @A add h {Inventory:[{id:"iron_block",Damage:0s,Count:2b,tag:{ench:[{id:16,lvl:0}],display:{Name:"至钢之铁",Lore:["世界上最坚硬的铁块","死神镰刀的主材料"]}}}],Inventory:[{id:"minecraft:gold_block",Damage:0s,Count:1b,tag:{ench:[{id:16,lvl:0}],display:{Name:"灿烂金块",Lore:["看上去十分耀眼的金块","死神镰刀的主材料"]}}}],Inventory:[{id:"minecraft:redstone_block",Damage:0s,Count:1b,tag:{ench:[{id:16,lvl:0}],display:{Name:"鲜血宝珠",Lore:["用64个腐肉的精华做成的宝珠,拥有吸血能力","死神镰刀的副材料"]}}}]}
连锁命令方块(后面包括这个所有的连锁命令方块全部条件制约):testfor @a[tag=h] {Inventory:[{id:"iron_block",Damage:0s,Count:2b,tag:{ench:[{id:16,lvl:0}],display:{Name:"至钢之铁",Lore:["世界上最坚硬的铁块","死神镰刀的主材料"]}}}],Inventory:[{id:"minecraft:gold_block",Damage:0s,Count:1b,tag:{ench:[{id:16,lvl:0}],display:{Name:"灿烂金块",Lore:["看上去十分耀眼的金块","死神镰刀的主材料"]}}}],Inventory:[{id:"minecraft:redstone_block",Damage:0s,Count:1b,tag:{ench:[{id:16,lvl:0}],display:{Name:"鲜血宝珠",Lore:["用64个腐肉的精华做成的宝珠,拥有吸血能力","死神镰刀的副材料"]}}}]}
连锁:clear @a[tag=h] iron_block
连锁:clear @a[tag=h] gold_block
连锁:clear @a[tag=h] redstone_block
连锁:give @a[tag=h] iron_hoe 1 0 {ench:[{id:16,lvl:100}],display:{Name:"死神镰刀",Lore:["一把神奇的镰刀,可以让玩家获得无穷无尽的力量"]},Unbreakable:1b}
接下来是让附近怪物凋零:
循环命令方块(保持开启):scoreboard players tag @a add f {SelectedItem:{id:"minecraft:iron_hoe",Count:1b,Damage:0s,tag:{ench:[{id:16,lvl:100}],display:{Name:"死神镰刀",Lore:["一把神奇的镰刀,可以让玩家获得无穷无尽的力量"]}}}}
连锁:execute @a[tag=f] ~ ~ ~ /effect @e[type=!Player,rm=1,r=5] 20 5 1
接下来是让拿着锄头的人获得增益效果:
循环性命令方块(保持开启):scoreboard players tag @a add f {SelectedItem:{id:"minecraft:iron_hoe",Count:1b,Damage:0s,tag:{ench:[{id:16,lvl:100}],display:{Name:"死神镰刀",Lore:["一把神奇的镰刀,可以让玩家获得无穷无尽的力量"]}}}}
连锁:effect @a[tag=f] 10 2 4 生命回复
连锁:effect @a[tag=f] 23 2 20 饱和
连锁:effect @a[tag=f] 3 2 2 生命提升