大家好,今天为大家带来Room系列
各位看海贼王喜欢特拉法尔加罗的
都知道他的room吧
下面就给大家带来演示
声明:这个作品没有什么技术性,只是我太久没完命令了,试试手,勿喷BGM(summer)不喜勿喷
http://img.xiami.com/res/player/widget/multiPlayer.swf?dataUrl=http://www.xiami.com/widget/xml-multi/uid/0/sid/2073511,/width/235/height/346/mainColor/FF8719/backColor/494949/autoplay/1
http://player.youku.com/player.php/sid/XNzQ0ODQwNDc2/v.swf
原理请见第二页

中频红石
链接第一个命令方块
绿色
- /testfor @p {SelectedItemSlot:7,Inventory:[{Slot:7b,id:"minecraft:coal"}]}
输出后接红色命令方块
- /execute @p ~ ~ ~ execute @e[r=20,c=-1] ~ ~ ~ summon WitherSkull ~ ~ ~ {direction:[0.0,0.0,0.0]}
接蓝色命令方块
- /execute @p ~ ~ ~ tp @e[type=!WitherSkull,r=20,c=-1] @p
接紫红色
- /tp @p @e[type=WitherSkull]
白色
- /kill @e[type=WitherSkull]
最后橙色
- /clear @p minecraft:coal 0 1
为了更好的效果,大家可以将煤炭命名,或像二逼做的:http://www.mcbbs.net/thread-281854-1-1.html
增强物品稀有性和指定性。
如果你看到了这里,就给你地图吧。
[groupid=546]Command Block Logic[/groupid]