[MCBE]execute指令大改版,距离手机电脑互通再进一步

Java版/execute
子命令表
align <pos>向下取整//
anchored <anchor>坐标//
as <targets>改变execute的目标//
at <targets>不修改执行者的选择目标// facing
<pos>/entity <targets> <anchor> 朝向坐标/实体位置的眼目标或脚部//
in <overlord,the_end,the_nether> 纬度选择//
positioned <pos>/as <targets> 坐标位置/实体位置//
rotated <rot> 旋转朝向//
-----------参数:
<pos>坐标
<anchor>eye,feet的坐标
<targets>实体
<rot>yaw,pitch(水平旋转角度,垂直旋转角度)
//////////////////////////////////////
条件子命令表
if/unless
block <pos> <block>//
blocks <start_pos> <end_pos> <destination>//
data block <pos> <path>/entity <target> <path>/storage <source> <path>//
entity <targets>//
predicate <predicate>//
score <targets(可以用*)> <objective(<//<=//>//>=)>//
-----------参数:
<pos>坐标
<block>id与方块状态和nbt标签(#wool羊毛)
<start_pos>初始坐标
<end_pos>结束坐标
<destination>西北下角xyz最小处
<path>byte,short,int,long,float,double数据类型
<target>一个实体
<source>NBTid
<targets>实体
<predicate>谓词
<objective>记分项
//////////////////////////////////////
储存子命令表store result/store success
block方块 <targetPos> <path> <type> <scale>//
bossbar储存在boss栏的值 <id>//
entity实体 <target> <path> <type> <scale>//
score分数 <targets> <objective>//
storage返回值或创建值 <target> <path> <type> <scale>//
-----------参数:
<targetPos>实体坐标
<path>NBT标签
<path>byte,short,int,long,float,double数据类型
<scale>double倍率
<id>value,max值与最大值
<target>一个实体
<targets>实体
<objective>记分项
//////////////////////////////////////
run子命令
语法run <command>
简单不说了
-----------参数:
<command>指令