我爱读小说网

字:
关灯 护眼
我爱读小说网 > Minecraft指令手册 > 第七十五章 神奇!execute竟抄袭Minecraft的其他指令! 上 (1 / 3)

第七十五章 神奇!execute竟抄袭Minecraft的其他指令! 上 (1 / 3)

        既然是如果,那么肯定少不了方块出场。

        首先,是第一个子子命令(孙子命令):block。

        block有两种语法:

        /......<if|unless> block <坐标><方块>......

        这是检测某个指定地方的方块类型是否是指定方块。

        /......<if|unless> block <开始坐标><结束坐标><对照区域下西北角坐标>

        
        这个就类似于/e,只不过它不是复制,而是对比这两个区域。

        可以选择对照的方式,即全部对照(all)或者是忽略空气(masked)。

        哎,等等,这怎么这么像哪个指令来着?

        第一个格式不就是改版的/testforblock?

        第二个格式不就是/testforblocks?

        定了,execute抄袭了/testforblock和/testforblocks。

  The content is not finished, continue reading on the next page