本帖最后由 坑佑雷~ 于 2014-4-5 16:19 编辑
大家好
,此帖是本人第二个命令方块帖,望回复。
—————————————————————————————分界线——————————————
把3根火把放在主物品栏的第一栏:祖爷爷,我来看你了
C:\DocumentsC:\Documents
走到白地毯上:拜三拜

然后你会主动退出白地毯:祖爷爷显灵了!!钻石!!

仔细看,三个火把也主动以掉落物的形式出现在墓碑上了。
—————————————————————————————分界线——————————————
作品图:
这个装置只有1.8才能使用
下面讲解原理:

首先一个高频脉冲= =

连着脉冲的命令方块是用来检测玩家是否进入白地毯的区域,检测到的话给出输出,指令:
/testfor @p[-542,56,-28,2]
指令上的坐标是以这个坐标为中心,后面的2是这个中心的范围大小

上一个命令方块给出输出后,输出会启动一个高频脉冲,连着这个高频脉冲的命令方块是用来检测玩家主物品栏地一栏是否有3根火把的,有的话,给出输出,指令:
/testfor @p {Inventory:[{Slot:0b,id:minecraft:torch,Damage:0s,Count:3b}]}

上一个命令方块给出输出后,用红石将输出分成2个,一个激活一个命令方块,这个命令方块是用来清除玩家的三根火把的,指令:
clear @a minecraft:torch 0 3

另一个输出会一下激活5个命令方块,那3个并一块的命令方块是用来在墓碑上以掉落物的形式生成3根火把的,其指令请看贰逼的帖子:http://www.mcbbs.net/thread-234695-1-1.html
然后剩下的两个命令方块从左往右看,第一个是用来给予玩家一个钻石的,指令:
/give @p minecraft:diamond
从左往右看第二个命令方块是用来将玩家退出白地毯的,指令是TP指令,不用我多说吧= =
—————————————————————————————完毕———————————————
大家好

—————————————————————————————分界线——————————————
把3根火把放在主物品栏的第一栏:祖爷爷,我来看你了

C:\DocumentsC:\Documents

走到白地毯上:拜三拜


然后你会主动退出白地毯:祖爷爷显灵了!!钻石!!


仔细看,三个火把也主动以掉落物的形式出现在墓碑上了。
—————————————————————————————分界线——————————————
作品图:

这个装置只有1.8才能使用
下面讲解原理:

首先一个高频脉冲= =

连着脉冲的命令方块是用来检测玩家是否进入白地毯的区域,检测到的话给出输出,指令:
/testfor @p[-542,56,-28,2]
指令上的坐标是以这个坐标为中心,后面的2是这个中心的范围大小

上一个命令方块给出输出后,输出会启动一个高频脉冲,连着这个高频脉冲的命令方块是用来检测玩家主物品栏地一栏是否有3根火把的,有的话,给出输出,指令:
/testfor @p {Inventory:[{Slot:0b,id:minecraft:torch,Damage:0s,Count:3b}]}

上一个命令方块给出输出后,用红石将输出分成2个,一个激活一个命令方块,这个命令方块是用来清除玩家的三根火把的,指令:
clear @a minecraft:torch 0 3

另一个输出会一下激活5个命令方块,那3个并一块的命令方块是用来在墓碑上以掉落物的形式生成3根火把的,其指令请看贰逼的帖子:http://www.mcbbs.net/thread-234695-1-1.html
然后剩下的两个命令方块从左往右看,第一个是用来给予玩家一个钻石的,指令:
/give @p minecraft:diamond
从左往右看第二个命令方块是用来将玩家退出白地毯的,指令是TP指令,不用我多说吧= =
—————————————————————————————完毕———————————————
图全挂了!赞一个!
图挂了{:10_492:}
聪明的人儿,不知道国庆的时候会用命令方块干什么
你的祖爷爷是初音啊233
呵呵,楼主图全挂了
图片全挂了- -
以修复

特爽特很 

图没挂 好好的 ~顶一个
不懂
幸存2张图
欢迎删帖~~理由猜对了也不说~
图挂了.........
咳,无图无真相啊
你的爷爷是上传图片已删除啊???
没图 TAT