方法很简单~
利用命令方块的Testfor指令,找出创造和生存模式的所有人~~
指令是:
/testfor @a[m=1] (找创造模式的人)
&
/testfor @a[m=0] (找生存模式的人)
这样,给这两个命令方块输入一定的脉冲,它们就能寻找符合条件的人了~~
PS:
这是一个很简单的脉冲~~
[white_wool][white_wool][white_wool][white_wool]
[white_wool][white_wool][redstone_torch][white_wool]
[white_wool][white_wool][redstone_wire2][white_wool]
[white_wool][redstone_wire3][note_block][white_wool]
[white_wool][redstone_wire2][black_wool][white_wool]
[white_wool][white_wool][redstone_wire2][white_wool]
[white_wool][white_wool][redstone_wire2][white_wool]
[white_wool][white_wool][white_wool][white_wool]
注意:音乐盒是红石比较器丨黑羊毛是任意识体方块
然后,从这两个命令方块延出红石信号(用比较器)
再接入其他命令方块~~
传送去岩浆,骂作弊的人,换成冒险模式就随君所好了~~
很简单吧~~
还有不懂的可以回复或者私信我-v-
|