游民星空 - 查攻略必备
下载游民App,免费领取游戏大作
《我的世界》1.8命令方块图文教程 我的世界命令方块怎么用
互联网
我是Mark萌萌哒
2015-12-17 16:36
0
execute指令
好,我们先认识一下execute指令的格式:
/execute <实体> <x> <y> <z> <另一个指令> / /execute <实体> <x> <y> <z> detect <x> <y> <z> <方块名> <数据值> <另一个指令>
好,来讲一下,第一条指令是纯粹探测实体,第二个则是探测实体并对特定的方块进行侦测。另一条指令则是输入另外一条指令。
好,我们来做一个简单的跑酷,用execute进行侦测并输出(需要高速脉冲):
加速的:
/execute @p ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 1 /effect @p 10 1 1
跳跃的:
/execute @p ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 4 /effect @p 10 1 1
相关内容请关注:我的世界专区