2015-06-27
进入游戏
输/give xxx 137 yyy (xxx为你的名字,137是命令方块,yyy是个数)
然后放在地上,输effect @a(@a是全部人,@r是随机的人,@p是最近的人) 效果(数字) 时间(数字1~9999)
列如:effect @a 9 9999 (每个中间打一个空格)
在上面放个压力板,一踩就会是会是没有时间限制的反胃
效果不说了,反正好像不能超过20。
复制代码:scoreboard objectives setdisplay sidebar system
复制代码:give @a minecraft:iron_sword 1 1000 {display:{Name:"Poisoned Bone",Lore:["Come from an old","Cave Spider"]}}
复制代码:/scoreboard players set @a system 1 {SelectedItemSlot:,Inventory:[{Slot:b,id:"minecraft:iron_sword",Damage:1000s,tag:{display:{Name:"Poisoned Bone",Lore:["Come from an old","Cave Spider"]}}}]}
复制代码,后接或非门接下列命令,scoreboard players set @a system 0
复制代码,另起一组命令方块,用高频脉冲激活下面的指令,后接比较器输出接后续的一组指令。testfor @a[score_usesword_min=1,score_system_min=1]
复制代码,后面接比较器输出,一旦输出之后,立即执行核心部分的指令。scoreboard players set @e[type=!Player] chosen 1
复制代码,scoreboard players set @e[type=!Player] chosen 0 {HurtTime:0s}
系统结束。
不是信标啊,就是命令方块