Minecraft(我的世界)中文论坛
标题: [1.8+][Tyson][命令方块]无mod矿物探测器
作者: tyson 时间: 2014-4-19 20:52
标题: [1.8+][Tyson][命令方块]无mod矿物探测器
本帖最后由 tyson 于 2014-4-19 20:57 编辑
大家好
最近快中段考,没什么时间
就直入主题
我为大家带来[1.8+][Tyson]无mod矿物探测器
Dragnoz大大有了这个灵感
我只是做出来而已
效果展示
http://player.youku.com/player.php/sid/XNzAwNjY4Mzg0/v.swf
下页为原理
如不再看请给点鼓励或留言


其中
橙色,紫红,黄色,灰色(黄色下面)蓝色为需要不断激活的命令
而白色,粉红色,绿色为之前准备用的命令
首先是白色
- /scoreboard objectives add diamonds dummy
复制代码 创建一个变量 diamonds
粉红色
- /scoreboard objectives setdisplay sidebar diamonds
复制代码 将侧边栏显示diamonds
绿色- gamerule commandBlockOutput False
复制代码
关闭命令方块提示
橙色
- /scoreboard players set @p diamonds 1 {ActiveEffects:[{Id:2b,Amplifier:1b}]}
复制代码 将拥有迟缓效果的玩家diamonds设定为1
紫红色
- execute @p[score_diamonds_min=1] ~ ~ ~ fill ~-3 1 ~-3 ~3 15 ~3 minecraft:air 1 replace minecraft:diamond_ore
复制代码 在diamonds为一的玩家下方把钻石替换为空气
黄色
- /tellraw @p {text:"发现钻石",color:blue}
复制代码 不解释
灰色
- execute @p[score_diamonds_min=1] ~ ~ ~ fill ~-3 1 ~-3 ~3 15 ~3 minecraft:diamond_ore 1 replace minecraft:air
复制代码 在玩家下方把空气再替换钻石
蓝色
- /scoreboard players set @a[score_diamonds_min=1] diamonds 0
复制代码 最后分数归0
附录
药水指令- /give @p minecraft:potion 1 16421 {CustomPotionEffects:[{Id:2,Amplifier:1,Duration:400}]}
复制代码
谢谢大家喜欢就给点人气鼓励我吧
[groupid=546]Command Block Logic[/groupid]
作者: 我的世界sun123 时间: 2014-4-19 20:53
CBL速度顶贴!
作者: 719_Lokii 时间: 2014-4-19 20:54
@CJB
被破掉了= =
作者: 壹佰佰佰 时间: 2014-4-19 20:55
好厉害..
作者: tyson 时间: 2014-4-19 20:56
没什么..
作者: 2367994233 时间: 2014-4-19 20:59
吊啊,无敌了
作者: tyson 时间: 2014-4-19 21:01
谁是cjb。。
作者: 米安博奥 时间: 2014-4-19 21:17
MC未來的發展向是消滅使用mod
作者: zjr_516635864 时间: 2014-4-19 21:23
OwO
触我一脸
作者: 审奥不解释 时间: 2014-4-19 22:15
表示在优酷的视频上看到过,也差不多猜出原理了,很不错,顶一个
作者: tyson 时间: 2014-4-19 22:54
头像文字漂亮
作者: tyson 时间: 2014-4-19 22:55
为什么换头像
作者: 沉默的羔羊 时间: 2014-4-19 22:59
啪啪啪,鼓掌
无敌恶混帽






作者: 审奥不解释 时间: 2014-4-20 08:43
http://www.mcbbs.net/thread-264979-1-1.html我记得我@过你啊
作者: songfeitong 时间: 2014-4-20 08:48
我想知道的是
万一钻石周围都是空气岂不是全变成钻石了
作者: tyson 时间: 2014-4-20 09:00
嗯
我昨天发现了
所以把空气改为海绵为好
作者: tyson 时间: 2014-4-20 15:10
感谢顶帖
作者: minehenry 时间: 2014-4-20 21:13
我也要期中考了 已准备挂科