[MCBE]execute指令大改版,距離手機(jī)電腦互通再進(jìn)一步

Java版/execute
子命令表
align <pos>向下取整//
anchored <anchor>坐標(biāo)//
as <targets>改變execute的目標(biāo)//
at <targets>不修改執(zhí)行者的選擇目標(biāo)// facing
<pos>/entity <targets> <anchor> 朝向坐標(biāo)/實(shí)體位置的眼目標(biāo)或腳部//
in <overlord,the_end,the_nether> 緯度選擇//
positioned <pos>/as <targets> 坐標(biāo)位置/實(shí)體位置//
rotated <rot> 旋轉(zhuǎn)朝向//
-----------參數(shù):
<pos>坐標(biāo)
<anchor>eye,feet的坐標(biāo)
<targets>實(shí)體
<rot>yaw,pitch(水平旋轉(zhuǎn)角度,垂直旋轉(zhuǎn)角度)
//////////////////////////////////////
條件子命令表
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(<//<=//>//>=)>//
-----------參數(shù):
<pos>坐標(biāo)
<block>id與方塊狀態(tài)和nbt標(biāo)簽(#wool羊毛)
<start_pos>初始坐標(biāo)
<end_pos>結(jié)束坐標(biāo)
<destination>西北下角xyz最小處
<path>byte,short,int,long,float,double數(shù)據(jù)類型
<target>一個實(shí)體
<source>NBTid
<targets>實(shí)體
<predicate>謂詞
<objective>記分項
//////////////////////////////////////
儲存子命令表store result/store success
block方塊 <targetPos> <path> <type> <scale>//
bossbar儲存在boss欄的值 <id>//
entity實(shí)體 <target> <path> <type> <scale>//
score分?jǐn)?shù) <targets> <objective>//
storage返回值或創(chuàng)建值 <target> <path> <type> <scale>//
-----------參數(shù):
<targetPos>實(shí)體坐標(biāo)
<path>NBT標(biāo)簽
<path>byte,short,int,long,float,double數(shù)據(jù)類型
<scale>double倍率
<id>value,max值與最大值
<target>一個實(shí)體
<targets>實(shí)體
<objective>記分項
//////////////////////////////////////
run子命令
語法run <command>
簡單不說了
-----------參數(shù):
<command>指令