存档:http://pan.baidu.com/s/1pJ8qcDd 用最新的1.8快照打开
最新快照中,记分板的用法变成这样:scoreboard players ...... [datatag]
其中datatag是用来过滤(filter)对象(玩家、实体)的
效果图:
射箭
-
射出的箭生成了其他的箭
-
一地的箭
装置很简单
左边的是用来检测玩家手中是否有特制的弓
右边那个装置,绿色玻璃下的命令是
scoreboard players set @e[type=Arrow] dosummon1 1 {pickup:2b,inGround:0b}
scoreboard players set @e[type=Arrow] dosummon1 0 {pickup:2b,inGround:1b}
将玩家射出的箭中没有落地的箭的dusummon1分数设为1,落地后设为0
橘色玻璃下面的是生成箭的
其中一个的指令:execute @e[score_dosummon1_min=1] ~ ~ ~ summon Arrow ~ ~-1 ~ {Motion:[0.5,0.0,-0.5]}
也就是玩家射出的在空中的箭才可以生成其他的箭
玩家用普通的弓无法做到这个效果
不拿着弓,红石线会断开
以前MasInYoFace也做过类似的,但是那个用的是witherskull,很不稳定,连续射几箭装置就不能用了
最新快照中,记分板的用法变成这样:scoreboard players ...... [datatag]
其中datatag是用来过滤(filter)对象(玩家、实体)的
效果图:

-

-

装置很简单

左边的是用来检测玩家手中是否有特制的弓

右边那个装置,绿色玻璃下的命令是
scoreboard players set @e[type=Arrow] dosummon1 1 {pickup:2b,inGround:0b}
scoreboard players set @e[type=Arrow] dosummon1 0 {pickup:2b,inGround:1b}
将玩家射出的箭中没有落地的箭的dusummon1分数设为1,落地后设为0
橘色玻璃下面的是生成箭的
其中一个的指令:execute @e[score_dosummon1_min=1] ~ ~ ~ summon Arrow ~ ~-1 ~ {Motion:[0.5,0.0,-0.5]}
也就是玩家射出的在空中的箭才可以生成其他的箭

玩家用普通的弓无法做到这个效果
不拿着弓,红石线会断开
以前MasInYoFace也做过类似的,但是那个用的是witherskull,很不稳定,连续射几箭装置就不能用了
卡服必备←W←
看着好高端,我真心没看懂
嗯...... execute 对吧......
表示看得明白







表示看得明白







看不懂- -
cyqsimon 发表于 2014-3-9 14:21
嗯...... execute 对吧......
表示看得明白
不止是execute,用了最新记分板的特性
看得出来,不过我看不需要计分板的说。。。用红石逻辑应该也可以代替的说。。。。
暴力啊,在在哪射得到的地方放一些
就更壮观了

好玩 我喜欢
运用了execute?有用到计分板?
限定了motion不是会只召唤一个方向的箭吗?为什么要呢么多橘色玻璃下的方块,望详解
审奥不解释 发表于 2014-3-9 16:48
看得出来,不过我看不需要计分板的说。。。用红石逻辑应该也可以代替的说。。。。 ...
需要记分板,因为是用箭刷箭。如果用c=1来限定的话就不能同时射多个箭了
953301477 发表于 2014-3-9 21:59
限定了motion不是会只召唤一个方向的箭吗?为什么要呢么多橘色玻璃下的方块,望详解 ...
不是刷出了射向各个方向的箭吗
delifue 发表于 2014-3-13 19:00
不是刷出了射向各个方向的箭吗
一只箭的周围向四周射的样子?抱歉看图没看出来