首页
/
每日頭條
/
遊戲
/
我的世界execute用法
我的世界execute用法
更新时间:2026-11-12 11:11:06

  1、我的世界execute最主要就是以一個或多個實體為中心執行一條指令,就像把原本寫在命令方塊中的指令賜予到實體身上。

  2、其最簡單的用法就是:execute 。

  3、這裡實體的定義指的是以什麼為中心,例如僵屍、末影龍,當然玩家也是實體,甚至閃電。

  4、而像怪物這些實體,我們則需要用到1.8新的選擇器@e(全部實體),範圍還需縮小到一種實體,這時需要用到type來描述。

  5、僵屍的選擇器則是@e[type=Zombie],注意名稱首字母大寫!執行事件的坐标,就是該實體要在哪裡執行事件,就像setblock一樣,接下來就可以執行簡單的execute指令。

Comments
Welcome to tft每日頭條 comments! Please keep conversations courteous and on-topic. To fosterproductive and respectful conversations, you may see comments from our Community Managers.
Sign up to post
Sort by
Show More Comments
Copyright 2023-2026 - www.tftnews.com All Rights Reserved